feat(sterni/aoc/2021): don't split on consecutive occurrences of 𝕨
Change-Id: I2ab17e0238df297f580c45bc28914c6dfd0ce848 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4680 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
This commit is contained in:
		
							parent
							
								
									5600321d03
								
							
						
					
					
						commit
						675f97e535
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -11,7 +11,7 @@ ReadDec ← 10⊸ReadInt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ReadInput ← {•file.Lines ∾ •path‿"/input/day"‿(•Fmt 𝕩)}
 | 
					ReadInput ← {•file.Lines ∾ •path‿"/input/day"‿(•Fmt 𝕩)}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SplitOn ← ((⊢ (-1˙)⍟⊣¨ +`)∘=⊔⊢)
 | 
					SplitOn ← ((⊢ (-1˙)⍟⊣¨ +`∘(1⊸»<⊢))∘(≡¨)⊔⊢)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_fix ← {𝕩 𝕊∘⊢⍟≢ 𝔽 𝕩}
 | 
					_fix ← {𝕩 𝕊∘⊢⍟≢ 𝔽 𝕩}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue