HNHacker News
TopNewBestAskShowJobs

pseudonom-

239 karma · joined January 16, 2014

submissionscomments
pseudonom-··on Learn You an Agda
I'm not sure if they will meet your standards, but Idris and ATS strive to be practical dependently typed languages:

http://www.ats-lang.org/Examples.html http://www.idris-lang.org/

pseudonom-··on You could have invented Parser Combinators
Attoparsec is pretty fast. http://www.serpentine.com/blog/2014/05/31/attoparsec/
pseudonom-··on OCaml Briefly
Care to elaborate on what you like about its syntax? I can imagine preferring it to Haskell or Lisp, but not thinking it's beautiful.
pseudonom-··on Elm – functional reactive language for interactive applications
That sort of unprincipled, implicit conversion is generally frowned upon (by Elm, Haskell, ML, &c.). It reduces type safety.

If all you want is syntactic sugar, Elm has infix lift operators so:

    let p = lift2 (+) Mouse.x Mouse.y
becomes:

    let p = (+) <~ Mouse.x ~ Mouse.y
If you don't like that, Haskell has `do` notation. If Elm also had it, you could do:

    let p = do
      x <- Mouse.x
      y <- Mouse.y
      return (x + y)
pseudonom-··on Elm – functional reactive language for interactive applications
Pi doesn't make much sense as a signal (a time-varying value).
pseudonom-··on Why I find IEEE 754 frustrating
Well, it sounds like what you're looking for is property based testing. You can setup something like QuickCheck to run at compilation.
pseudonom-··on Why I find IEEE 754 frustrating
> One where "a = b / c" won't even compile if c might be 0.

Dependently typed languages can provide this.

pseudonom-··on What if C++ looked more like Python or CoffeeScript?
As another point to triangulate from, Haskell is also whitespace-sensitive and I have never had a non-trivial whitespace error in it.
pseudonom-··on Architecture of a Real World Haskell Application
My understanding is that there's a fundamental trade-off between expressivity and efficiency (while maintaining referential transparency):

https://blogs.janestreet.com/breaking-down-frp/ http://people.seas.harvard.edu/~chong/abstracts/CzaplickiC13... http://www.testblogpleaseignore.com/wp-content/uploads/2012/...

pseudonom-··on Why I am excited about Clojure
bitemyapp seems to have pretty clear opinions on Haskell vs Clojure: http://bitemyapp.com/posts/2014-04-29-meditations-on-learnin...
pseudonom-··on Java is the COBOL of my generation and Go is its successor
I think the point of the above comment is that Go doesn't even include those decades old features.
pseudonom-··on Uncleftish Beholding: English minus the non-Germanic words (1998)
I made a little website to do this a few months ago:

http://angler.herokuapp.com/

pseudonom-··on Uncleftish Beholding: English minus the non-Germanic words (1998)
Ha. I made a little website to automatically suggest Anglo-Saxon words a few months ago:

http://angler.herokuapp.com/

pseudonom-··on CLaSH: A functional hardware description language
Maybe for reversible computing? [0]

[0] https://en.wikipedia.org/wiki/Reversible_computing

pseudonom-··on Programming paradigms that change how you think about coding
As a sort of side note, why is it

    filter p (x :: xs) with (filter p xs)
        | (_ ** xs') = if p x then (_ ** x :: xs') else (_ ** xs')
rather than

    filter p (x :: xs) = if p x then (_ ** x :: snd (filter p xs)) else (_ ** snd (filter p xs))

?
pseudonom-··on Haste language
I've used Elm a fair bit which is, in many ways, similar (compile-to-JS, statically typed, purely fuctional language). Between expressive types, a REPL, etc., I have never felt compelled to try to debug the generated Javascript.
pseudonom-··on Haste language
My impression is that Fay has been in (at least moderate) use the longest. GHCJS seems to be getting a lot more viable lately. Elm (which is only Haskellish rather than fully Haskell-compatible) isn't listed on that page, but is getting quite nice.
pseudonom-··on Haste language
Ur/Web's [0] pretty obscure but also does this. As does Opa [1].

[0] http://impredicative.com/ur/

[1] http://opalang.org/

← PreviousPage 4 of 4