Description:
Polymorphically-typed lazy purely-functional programming.
|
|
|
Driving Development with Types and Tests
|
| |
I'm returning to the Haskell community after a long absence. More on that later. In working through the Real World Haskell book, I finally hit [an exercise]([link] programming.html) that I found hard: ...I'm not sure what made this hard, but I decided to first all specify... more »
|
|
Looking for a fast high level language
|
| |
Hi, I have been trying to find a computer language that runs no slower than 3 times C++. I thought that Haskell might be the solution, but, in my one test case it was about 6 times slower than C++. Can someone tell me if I am just coding this inefficiently. (Code and run times below.) Are there any high level languages that have run times within a... more »
|
|
the conceptual and computational similarity of sum, (+) and concat, (++)
|
| |
I just find it noteworthy that sum and (+) do roughly the same thing and that (+) could be implemented in terms of sum: (+) a b = sum [a,b] Another way to put it is that sum does it work by folding (+) I was talking with someone in #haskell that felt these related functions really should have different names.... more »
|
|
ghc warning
|
| |
When I compile rint :: Int -> Double -> Double rint d x = fromIntegral (round (x * 10^d)) / 10^d GHC reports main.hs:442:25: Warning: Defaulting the following constraint(s) to type `Integer' `Integral b' arising from a use of `round' at main.hs: 442:25-40 In the first argument of `fromIntegral', namely... more »
|
|
pimp my code
|
| |
hi all here is a little module for parsing midi files. it seems to work, but it's much slower than its python counterpart. maybe somebody could look through it and see if i'm making any obvious mistakes? peace stm {----------------------------- ------------------------------ ------------------------------ ---... more »
|
|
performance question
|
| |
hi All, I'm trying to create a simple application, which parses CPP output files and creates a graphviz dot file. You can find the source here: [link] I'm using test files ~25GB as input, the allocation is ~1.5GB. I tried to profile the application, but found not too much. The (:) allocates... more »
|
|
enumerations
|
| |
hello All, i tried to tune up my little application, and have found this page: [link] but the example does not even compile for me. anyone could give me a hint how to write enumeration shortly? thanks, Laszlo
|
|
oohaskell anyone?
|
| |
hi, does anybody actually really *use* OOHaskell? like for something long- lived and not just a home / small research project? [link] just curious.
|
|
Haskell style
|
| |
I would like to read some Haskell source code that does a non-trivial job and that is generally considered to be well-written. Any suggestions? Thanks, Patricia
|
|
IDE for Haskell
|
| |
I'm an experienced programmer, but just starting to learn Haskell and functional programming. Currently, I'm using GHC, GHCi, with gvim to edit programs. I like using IDEs. For example, I do my Java programming in Eclipse. I do not like Emacs. I first tried it out in about 1984, and I try it again about once every 5 years, but somehow it just does not suit me.... more »
|
|
|