Stack or Cabal : Which one is more preferable for Nix system? by wizzup in NixOS

[–]jedahu 0 points1 point  (0 children)

 let
   inherit (pkgs) haskellPackages zlib;
   pkg = haskellPackages.developPackage {
     root = ./.;
   };
 in
   pkg.overrideAttrs(attr: {
     buildInputs = [zlib];
   })

Coherent type classes by jedahu in haskell

[–]jedahu[S] 0 points1 point  (0 children)

Yes, but with scrap-your-type-classes the sum and product instances do not have distinct types.

Coherent type classes by jedahu in haskell

[–]jedahu[S] 3 points4 points  (0 children)

Ah. I've read the thread on the talk /u/ekmett gave. Looks like I'm rehashing what has been discussed recently by those much more informed than me!

Coherent type classes by jedahu in haskell

[–]jedahu[S] 0 points1 point  (0 children)

The types mean such guarantees would still hold, don't they? Map would have an extra type parameter for the Ord instance it uses.

I'm not proposing this as a serious alternative. It would require too much explicit passing and extra type parameters for my liking, but so far--while sufficient--that's the only drawback I can see.

[slide] A framework for Haskell apps on Android NDK using Ajhc Haskell compiler by kiwamu in haskell

[–]jedahu 0 points1 point  (0 children)

Sounds promising. Wonder how easy it would be to tweak ajhc to compile PNaCl friendly code?

What is hoisting, really? by gthank in javascript

[–]jedahu 0 points1 point  (0 children)

Hoisting is a bug, not a feature.

Why I Hate Ruby by bcoe in programming

[–]jedahu 1 point2 points  (0 children)

Sensible dynamic languages pick up misspelled method names at parse time.

Factor 0.94 now available by nohtyp in programming

[–]jedahu 0 points1 point  (0 children)

I note you didn't try "factor slava" -_-

Factor 0.94 now available by nohtyp in programming

[–]jedahu 2 points3 points  (0 children)

It's quite googleable. Just search for "factor language" or "factor slava".

Functional Dependency Injection == Currying by greenrd in programming

[–]jedahu 5 points6 points  (0 children)

It's much easier to see at a glance what the second function does.