diff options
author | Marvin Borner | 2024-03-21 12:51:02 +0100 |
---|---|---|
committer | Marvin Borner | 2024-03-21 12:51:02 +0100 |
commit | 93b53a5354620d94b128008d0b17670cc87c92f5 (patch) | |
tree | c1f5c80b9d2fb0c8750ddb69b281450e7033e556 /samples/rosetta/hailstone.bruijn | |
parent | 8b82e5d7f485fc76250b9ed2ad756b913e930df1 (diff) |
Added lcm
Diffstat (limited to 'samples/rosetta/hailstone.bruijn')
-rw-r--r-- | samples/rosetta/hailstone.bruijn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/rosetta/hailstone.bruijn b/samples/rosetta/hailstone.bruijn index 46cf8a2..d98c235 100644 --- a/samples/rosetta/hailstone.bruijn +++ b/samples/rosetta/hailstone.bruijn @@ -16,6 +16,6 @@ seq-27 hailstone (+27b) :test (take (+4) <~>seq-27) ((+1b) : ((+2b) : ((+4b) : {}(+8b)))) all-below-100000 [0 : ∀(hailstone 0)] <$> seq - seq take (+1000) (iterate ++‣ (+1b)) + seq take (+99999) (iterate ++‣ (+1b)) main [head (max-by (M.compare ⋔ tail) all-below-100000)] |