Relative Content

Tag Archive for haskell

Fastest Haskell library sort implementation

I am implementing an application in Haskell and, for sorting, I use the library function Data.List.sort. However, I was wondering whether this is the fastest sort implementation in the Haskell standard library (perhaps lists are not the best choice for efficient sorting).

Why would I use Control.Exception in Haskell?

I’m trying to really master Haskell error handling, and I’ve gotten to the point where I don’t understand why I would use Control.Exception instead of Control.Monad.Error.

does haskell have dependent types?

I know Haskell already has the ability to parametrise a type over another type (similar to template programming in C++), but I’m wondering whether Haskell can also parametrise a type over values – whether it supports dependent types. With dependent types, you can have a type that’s parametrised over integers, for example vectors of size n, matrices of size n×m, etc.

What’s a good math textbook to have on my desk while studying Haskell? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]