« first day (591 days earlier)      last day (1275 days later) » 

00:18
Hello
I saw the notification
00:45
@Byte welcome!
01:23
Haskell weekend everyone?
 
2 hours later…
 
13 hours later…
16:16
Hello!
@AaronHall Did you see my question a few days ago?
17:10
@Code-Apprentice sorry... O(1) lookup seems to require a hashtable.
 
2 hours later…
 
4 hours later…
22:57
@Code-Apprentice Here's a relevant google search: constant time lookup
If Haskell allowed trailing commas then we could avoid this:
data RGB = MkRGB
  { rgbRed   :: Int
  , rgbGreen :: Int
  , rgbBlue  :: Int
  }
instead, we do this:
data RGB = MkRGB
  { rgbRed   :: Int,
    rgbGreen :: Int,
    rgbBlue  :: Int,
  }
(prior code block comes from that Reading Simple Haskell link above)
23:24
What's wrong with leading commas?
they are confusing to way too many novice devs?
especially the ones migrating from the other languages
/devilsAdvocate
23:57
I love my pythonic trailing commas.
Prelude System.IO> [1, 2]
[1,2]
Prelude System.IO> [1, 2,]

<interactive>:8:7: parse error on input ‘]’
Prelude System.IO>
>>> [1,2,]
[1, 2]
>>>

« first day (591 days earlier)      last day (1275 days later) »