Nathan Howell

Palo Alto, CA

breaks.for.alienz.org

Age: 36

Jan
6
awarded Popular Question
Dec
25
comment Can I tell GHC to arbitrarily select which instance to use, because I don't care?
Have you tried splitting the instances up into more (non-overlapping) modules?
Oct
22
comment Is there a way to use an "unlift" style when writing in a monad transformer do block?
If you have multiple liftIO calls in a row they can be combined into a single block: liftIO x; liftIO y; liftIO z; can be written as liftIO $ do { x; y; z; }. Depending on the current monad instance it can also change (typically improving) performance.
Jun
18
awarded Yearling
Jun
18
awarded Yearling
Jun
16
comment Receiving protobuf object in the conduit way
Can you put up a complete example? I'm happy to help debug.
Jun
11
awarded Enlightened
Jun
11
awarded Nice Answer
May
27
awarded Nice Question
Dec
10
comment Segmenting a Haskell list
groupBy doesn't work in this case anyhow, it tests the first element of the group against consecutive elements, not the last match against the next element. e.g. it would test (1,2), (1,3) not (1,2), (2,3).
Nov
1
comment Could not deduce (k2 ~ k4) from the context (Ord k2) during map reduce
Also any extensions that are specified on the command line... in particular, is ScopedTypeVariables enabled?
Oct
21
answered Strings concatenation in Spark SQL query
Oct
10
comment Is it possible to get the Kind of a Type Constructor in Haskell?
typeOf1 and Typeable1 (and friends) are still exported from Data.Typeable... they are usable in 7.8.
Sep
30
awarded Explainer
Jul
23
revised Plan B, or what's the opposite of Maybe's >>=?
added 177 characters in body
Jul
23
revised Plan B, or what's the opposite of Maybe's >>=?
added 495 characters in body
Jul
23
answered Plan B, or what's the opposite of Maybe's >>=?
Mar
4
comment Using TChan with Timeout
@RomanCheplyaka good catch, I've never even noticed this was in the stm package.
Mar
4
revised Using TChan with Timeout
deleted 99 characters in body
Mar
4
revised Using TChan with Timeout
added 567 characters in body
1 2 3 4 5