« first day (3 days earlier)
← previous day
next day →
last day (1960 days later) »
Laikoni
12:04 AM
@H.PWiz I asked the OP for clarification if that's allowed.
I also changed to your more readable version, because there is no point in having pointless point free notation.
22 hours later…
flawr
9:40 PM
It would be really nice if you could do pattern matching like
f (a,a)=...
or
f a:b:a:xs = ...
Laikoni
10:14 PM
Like in Prolog?
flawr
Ah I forgot about that, but yes, exactly like in Prolog=)
I wonder whether such a feature would have any backdraws.
Laikoni
10:32 PM
They removed
"n+k" patterns
, which could be interesting for golfing.
flawr
10:57 PM
@Laikoni Yes I've seen that.
I wonder what Haskell 2022 (just extrapolating:) will bring.
« first day (3 days earlier)
← previous day
next day →
last day (1960 days later) »
all rooms
Transcript for
Oct
5
Oct '17
6
Oct
7
Of Monads and Men
For discussion about, learning of and golfing in Haskell
codeg...
haskell
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile