38 karma · joined Jun 18, 2013 (13y ago) · 14 submissions
comment 9y ago · link · parent
comment 9y ago · link · parent
[0] https://tools.ietf.org/html/rfc6333
Edit: On the other hand, if connections via IPv4 were spotty I would not hesitate to suggest problems with NAT or path MTU.
comment 9y ago · link · parent
Can you give us some pointers to said research? I'd love to see the details.
comment 12y ago · link · parent
The only functions returning «Maybe» are «decode» and friends, and those have «Either String» variants.
You can use «modifyFailure» and «typeMismatch» (and the «with» wrappers) to get more descriptive messages, without a bit of help they are quite useless.
comment 13y ago · link · parent
The high school CS curriculum here is also basically an introduction to Java.
comment 13y ago · link · parent
Here you can donate by other means: https://rally.org/lavabit
comment 13y ago · link · parent
comment 13y ago · link · parent
The reason is that you need to operate on multiple containers at once and that is what Applicative's (<*>) provides, while Traversable only requires Functor and can therefore only traverse one container at a time.
So what Haskell has is just internal iteration, but we have another interface for internal iteration on multiple containers that allows zip to be implemented easily.
comment 13y ago · link · parent
Regarding 5, I have never heard of LazyLists, nor can I find them on Hackage, nor does that name make any sense since normal (:,[]) lists are already as lazy as it gets. (Lazy) ByteStrings are, as the name indicates, more for raw binary data, but can also be used for text . The modern standard for strings is Text[2]. The OverloadedStrings extension makes it considerably easier to work with literals of the differnt string-like types.
Regarding 6, I find documentation in Hackage packages quite good. Your example, Foldable, not only has a decent explanation of each function in the typeclass definition, but there are also good tutorials (e.g. Typeclassopedia[3]) since it is definitely a non-trivial typeclass.
[1] http://hackage.haskell.org/package/split [2] http://hackage.haskell.org/package/text [3] http://www.haskell.org/haskellwiki/Typeclassopedia#Foldable