A few weeks ago I was thinking the problem with Haskell (for SC use) was the lack of named parameters with default values + naming problems with record syntax. So I googled around and found this: http://nikita-volkov.github.io/record/
I cannot get it to work, but as I said, I'm a complete noob in haskell. I think it could solve many headaches though. On 30 March 2015 at 13:13, Miguel Negrão < miguel.negrao-li...@friendlyvirus.org> wrote: > On 30-03-2015 00:29, amin...@gmail.com wrote: > > Hey Miguel -- thanks, I've updated this. It should work for you now. > > > > Tom > > Great, thanks, now it builds easilly with nix. For future reference here > is a config.nix for vivid with IHaskel: > > place in ~/.nixpkgs/config.nix > > https://gist.github.com/miguel-negrao/8234ad179274e7657e2a > > place in ~/.nixpkds/haskell/vivid-0.1.0.3.nix : > > https://gist.github.com/miguel-negrao/ce2564ccbf32b9ad81c5 > > then > > > nix-env -iA nixpkgs.ihaskell-with-packages --option extra-binary-caches > http://hydra.nixos.org --option extra-binary-caches http://hydra.cryp.to > --cores 4 > > Currently this is will build quite a few haskell packages from source. > To download almost all the packages as binaries you have to use the more > recent nixpkgs from github. Clone the nixpkgs from github to somewhere > local and then : > > > nix-env -I nixpkgs=/path/to/the/clone/of/nixpkgs -iA > ihaskell-with-packages --option extra-binary-caches http://hydra.nixos.org > --option extra-binary-caches http://hydra.cryp.to -f '<nixpkgs>' --cores 4 > > Works nicelly in IHaskell, check how it looks here: > > http://www.friendlyvirus.org/files/vivid.html > > to run it you do: > > IHaskell notebook > > best, > Miguel > > -- > > Read the whole topic here: Haskell Art: > http://lurk.org/r/topic/7cSY1qmcVtY6Xvve2pjsIZ > > To leave Haskell Art, email haskell-...@group.lurk.org with the following > email subject: unsubscribe > -- Read the whole topic here: Haskell Art: http://lurk.org/r/topic/4tvvZMIA8uYtND4gajLZ7Z To leave Haskell Art, email haskell-...@group.lurk.org with the following email subject: unsubscribe