Опис:
Polymorphically-typed lazy purely-functional programming.
|
|
|
PhD / Postdoc Positions in PLT+AD
|
| |
Seeking PhD students and postdocs interested in an elegant combination of functional programming and big-iron style numeric computing. Functional Programming and Automatic Differentiation PhD Studentships Postdoctoral Positions We are adding exact first-class derivative calculation operators... далі ⇒
|
|
simple question
|
| |
hello all what is wrong with the following? what is the work-around? thanks if you can help. peace stm data Mark = Ex | Oh deriving (Eq, Show) data Blank = Blank deriving (Eq, Show) class Cell a instance Cell Mark instance Cell Blank sameCell :: (Cell a, Cell b) => a -> b -> Bool sameCell Ex Ex = True... далі ⇒
|
|
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... далі ⇒
|
|
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... далі ⇒
|
|
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.... далі ⇒
|
|
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... далі ⇒
|
|
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 {----------------------------- ------------------------------ ------------------------------ ---... далі ⇒
|
|
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... далі ⇒
|
|
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.
|
|
|