What is Nostr?
Jonathan Lamothe /
npub1jqx…h8px
2024-07-27 22:39:14

Jonathan Lamothe on Nostr: TIL: data Foo = Bar { val :: Int } | Baz { val :: Int } is valid #Haskell. I wouldn't ...

TIL:
data Foo = Bar { val :: Int } | Baz { val :: Int }
is valid #Haskell. I wouldn't have thought you could define val twice like that.
Author Public Key
npub1jqx33d75rxq8z79cg0xn00y0q6uwk4e59x0h35jhl7mdthzxarus3rh8px