Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codygman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
84 ms
·
751.
▲
by
codygman
12y ago
> The Haskell types often seem to think that the computing they do is the same as the computing that everybody else does Seeing as Haskell is used for general computing (including embedded software) the computing is the same. I know what
752.
▲
by
codygman
12y ago
Can you give me some example code? I think our discussion would be a lot more productive and mutually beneficial with some code examples/output.
753.
▲
by
codygman
12y ago
The purity is not an illusion though. Writing those sequences as a monad gives you the ability to compose actions, creating a new sequence from code you've already written for one.
754.
▲
by
codygman
12y ago
Your comment certainly doesn't apply to languages with expressive type systems.
755.
▲
by
codygman
12y ago
Point free can be used to have something similar to Unix pipelines as well though, resulting in simple, fast, and readable code.
756.
▲
by
codygman
12y ago
Unless your compiler (ghc for example) uses fusion to turn it into a single loop anyway.
757.
▲
by
codygman
12y ago
That's why you write or update libraries before writing an application, so it can be reused and your application specific code is minimized as much as possible.
758.
▲
by
codygman
12y ago
If you give some examples of the work that you do perhaps we can make some of the abstractions concrete.
759.
▲
by
codygman
12y ago
I'm not sure why the xasos says that. For me Haskell has been great for apis. Regarding calling C, the Haskell ffi is very easy to use. Try Nim, Ocaml, or Haskell to replace Go in that order. I order it in terms of probable familiarity
760.
▲
by
codygman
12y ago
As I've said before: for me Nim seems to be everything I had wished Go was.
761.
▲
by
codygman
12y ago
For the most part yes, but it depends on the position they're trying to get.
762.
▲
by
codygman
12y ago
They are both very useful for solving real world problems, yes.
763.
▲
by
codygman
12y ago
Snap/Haskell/(opaleye|esqueleto|groundhog)/postgres web applications Elm Netwire games - Haskell frp Gloss - Haskell 2d graphics Nim (generics, fast, enforce purity, macros) Idris - Becoming more useful for real world problem
764.
▲
by
codygman
12y ago
I believe Nim also has generics and macros.
765.
▲
by
codygman
12y ago
Page 8: http://themonadreader.files.wordpress.com/2011/10/issue19.pd...
766.
▲
by
codygman
12y ago
It depends on how you define interoperate. The way you phrase this it sounds like the only answer is the JVM. In which case: https://hackage.haskell.org/package/java-bridge However in the case where there is a lot of p
767.
▲
by
codygman
12y ago
> By comparison, Go has 9k users and 50k repos. And a lot of people say that Go is not that useful of a language because the community is small. Some people call Python too small. Some even claim "Haskell is mostly used for small, s
768.
▲
by
codygman
12y ago
> Yes, it does. Nope. > Haskell is mostly used for small, single-purpose tools, or it's used to teach FP principles. According to whom? If you, how do you come to that conclusion? > There just aren't that many people usin
769.
▲
by
codygman
12y ago
> There's hardly anything built in Haskell out there for you to build your own stuff on. False. How do you come to this conclusion. I agree with your overall point mostly, but it doesn't apply to Haskell.
770.
▲
by
codygman
12y ago
Continuing to use Haskell for practical things even though you may not totally understand monads. But besides that, yeah... same difference 😉
771.
▲
by
codygman
12y ago
> You toss everything to the wind if you want and you will still get a working product. This is actually the reason that I recommend Haskell for startups. As another commenter said in this thread it gives you a line of technical credit s
772.
▲
by
codygman
12y ago
If I took time to link to each one of those would it change your opinion any?
773.
▲
by
codygman
12y ago
No. https://news.ycombinator.com/item?id=8803238
774.
▲
by
codygman
12y ago
I hope you are trolling. Most Haskeller's value getting things done over being clever and actually actively avoid being clever. In your other comment you point out that many of PHP detractors have not used it or have very little experi
775.
▲
by
codygman
12y ago
Can you list a few reasons you think Haskell isn't pragmatic?
776.
▲
by
codygman
12y ago
You should kill that misinformation with some Haskell experience ;)
777.
▲
by
codygman
12y ago
I'm productive in Haskell and I don't know category theory. I didn't "learn" monads specifically, I used them in my projects and gained an intuition for monads followed by memorizing the 3 monad laws.
778.
▲
by
codygman
12y ago
> don't say Haskell, because surely you're more pragmatic than that What's that supposed to mean?
779.
▲
by
codygman
12y ago
I'm using snap in a freelance project right now. Haskell is also great for web development, keep at it!
780.
▲
by
codygman
12y ago
> crazy mathematical formalizations you can come up with to describe The probably with informal speech is that it is ambiguous. Also, using informal speech would really hurt you when generalizing these concepts abstractly. Plus after com
More ›