Fomatting fix
This commit is contained in:
parent
030af6ed8f
commit
cd80733367
@ -3,7 +3,8 @@ with import ../util.nix;
|
|||||||
let
|
let
|
||||||
# read input
|
# read input
|
||||||
input = readFile ./input;
|
input = readFile ./input;
|
||||||
pairs = let
|
pairs =
|
||||||
|
let
|
||||||
readRange = s: splitPair (a: b: [ (toInt a) (toInt b) ]) (splitString "-" s);
|
readRange = s: splitPair (a: b: [ (toInt a) (toInt b) ]) (splitString "-" s);
|
||||||
readPair = a: b: [ (readRange a) (readRange b) ];
|
readPair = a: b: [ (readRange a) (readRange b) ];
|
||||||
in map
|
in map
|
||||||
|
Loading…
x
Reference in New Issue
Block a user