« first day (1627 days earlier)      last day (336 days later) » 

12:47 AM
@Nitrodon some people think the extra verbosity of types and stuff is annoying
Dynamic typing certainly makes more sense for scripts
 
 
19 hours later…
7:24 PM
Just for fun, I wrote a BF interpreter (without I/O) in Haskell:
https://tio.run/##rVZtb9s2EP7OX3ERDESC680dsH0wKmNo9yUDBhTrvhlCykq0RVSWNIqOF2T57endkXqz5SYIKsOQ@PDu4b3xyFw2X1VRPD3pfV0ZC/8eZKG3WmXwh7Typ79kDbIBfAlh72sFn6xMv4KEGDYycdBNaUksJilWQID@QuylTfP3BjWUbWC1Qm2jyx0s1iyDL0fnB47oRCsI4BZ/jl3ta3t/IhCmuTSwAqMaG4EuM/UfNEwbC4BUNgpYotrC9eaa1hnrkx6ETm8Ob6P2e@VYIiQZPdcJkxQKtZgJPboZavzNhsRucKrtH12yP7psFAbdLTgmm13QxGegOdbRz2k@43ln/inD7QvC5twVGZYN/COxLmL3esBQbe0nnSmqgA0mOTk38A2kB2NUaT9gMZIc1c@ElNG7/DmuRyEwOlaWKZZrXh2dGcdcGYXCDSEhQwWkYChTwSaA@RzCQ3msTNbAjDJbO9EZenqnDFZREbFQEDphnk0ZC6Igwuz3SiZyeBKQLSkZyy
Feedback/suggestions welcome :)
 
 
2 hours later…
9:33 PM
I wonder if the State monad would help.
 
 
2 hours later…
11:16 PM
I'm trying to puzzle through what I was wondering earlier. What's fmap for a monad again? (>>=).(return.)?
(I'm a bit too tired to guarantee that that even type-checks.)
 
11:38 PM
ah, flip(>>=).(return.) type checks.
which is really what I had in mind but didn't type correctly
 

« first day (1627 days earlier)      last day (336 days later) »