Haskell (and other functional languages)

Welcome! To optimize for timely discussion, don't ask to ask, just ask! First time? Tell us what you're working on! Links: https://chat.stackoverflow.com/faq - https://www.haskell.org/tutorial/ Try it: https://repl.it/languages/haskell or https://code.world/haskell Search: https://www.haskell.org/hoogle/
1302d ago – Aaron Hall
130
Next scheduled event: “Saturday is the Haskelliest Time of the Week!”

Dec 14

export all events for this room

Starred posts

1 2
May 6, 2019 15:13
1) say "hi @..." to whoever is here. 2) Exchange pleasantries as apropos. 3) Talk about whatever you've been thinking about related to Haskell, functional programming, or programming - in that order of priority.
5
Feb 26, 2018 14:54
@Ampersanda This room is pretty quiet, so please visit often. We typically have asynchronous conversations.
4
Apr 23, 2019 18:12
@Alucard Coding and remaining calm can be difficult at times
3
Feb 17, 2019 03:47
Live working IHaskell Notebook: mybinder.org/v2/gh/gibiansky/IHaskell/master
3
Dec 24, 2018 15:19
Happy Holidays Haskell room!
3
Sep 27, 2018 19:31
meanwhile i watch "object oriented programming by using haskell" no joke! (jk)
3
Aug 6, 2019 09:22
this kind of theoretical wanking is why Haskell developers never get any actual work done ;)
2
Apr 23, 2019 05:50
@Dodge The most comprehensive overview is probably github.com/Gabriel439/post-rfc/blob/master/sotu.md
2
Dec 30, 2018 22:32
Here's a link to the latest GHC user guide (pdf): downloads.haskell.org/~ghc/latest/docs/users_guide.pdf
2
Oct 9, 2018 15:01
I think I might try to use Haskell for Advent of Code this year. Hopefully I understand enough of the language by then ^^
2
Jan 22, 2021 00:02
@Altanai If you want to get into Scala, here's a page on Scala for Java programmers. It should help you ease into FP.
Sep 9, 2018 03:19
I wrote a post: linkedin.com/pulse/…
2
Aug 15, 2018 07:31
about to start my first job i can't wait :)
2
Aug 3, 2018 16:12
Nov 14, 2020 18:10
I can see delete votes, not sure if it's a mod thing, but there are none there...
Jun 4, 2018 00:33
I found typeclassopedia quite useful to understand some of the more advanced typeclasses
2
Mar 28, 2018 19:51
@Code-Apprentice That's the way to do it. Start with the book, IMO: doc.rust-lang.org/book/second-edition
2
Mar 16, 2018 07:01
Or learn Category Theory.. thats where they come from :\
2
Mar 8, 2018 16:31
user image
2
Feb 19, 2018 19:53
Looks like they're ahead of me on the trailing commas: github.com/ghc-proposals/ghc-proposals/pull/87
2
Feb 12, 2018 21:21
@Byte Once I saw a talk with one of the creators of Julia (a language for numerical computation, with features like user-defined numeric types). He said "the problem with floats is that they are not numbers." Too many rules of numbers just don't apply to them.
2
Jan 29, 2018 17:27
@KooroshPasokhi I would go straight for Haskell, personally.
2
Aug 15, 2020 14:08
Need help? Ping me with @aaronhall. We can't complain about the activity if nobody uses the pings...
Dec 9, 2017 18:41
Dec 2, 2017 03:29
@AaronHall I use camelCase in Java because that is standard. I often use snake_case in python, but not consistently. I still use camelCase for python classes most of the time.
2
Nov 2, 2017 14:38
aosabook.org/en/ghc.html Has this been linked yet?
2
Jun 6, 2020 12:34
I guess install stack this way: haskell.org/platform/windows.html
Jul 26, 2017 19:34
When the room is slow you are encouraged to talk about anything, if something topical comes up, lets prioritize that.
2
Jun 12, 2017 00:06
@AaronHall I agree on the food/drinks bit. Maybe unfair but you have to draw people in :)
2
May 22, 2017 09:29
@nbro ideone.com is also a common place where Haskell programmers share (or try) code. I cannot see the possibility of providing data for stdin on lpaste.
2
Feb 15, 2020 13:41
The way chat works is you gotta hang out and stay pingable, and be willing to be pinged. Ignore the days/hours later... messages...
Sep 19, 2019 02:05
Functional Programming conversation starters: "Monads are just Endofunctor Monoids," "Functional purity is an important language feature because...," "What are you using Haskell for?" "Inheritance is just redecoration of methods and attributes in a subscope," "Haskell sucks because...," "I've decided that X is just a monad."
Aug 6, 2019 09:21
0
A: Writing a flexible "string fetcher"

Bartek BanachewiczSummary This answer grew longer than I anticipated, so I think a summary is in order. For such a generic problem and rather vaguely expressed intent, the scope of solutions is rather broad. I encourage not complicating the code more than absolutely necessary, instead focusing on readability of t...

Jul 30, 2019 07:37
Reading standard library
May 22, 2019 15:06
^^^^^ Nice conversation above between duplode and mttpgn on foldl versus foldr, others should read and might gain some insight...
May 15, 2019 17:34
@Dodge I'm thinking my issues with LYAH are mostly stylistic, but I also have concerns about the correctness of the prose. This guy just put out this book, and I don't know how much critical feedback he got. Nevertheless, a lot of people like it. I think it might just be part of my personality that I have to find some material I'd rather warn people away from. So don't let me warn you away from it and take my opinions with a grain of salt - they're just my opinions.
Mar 17, 2019 02:58
There are a lot of great talks on functional programming here: lambdadays.org/lambdadays2019
Mar 14, 2019 12:54
@JonathanJohansen if you click on "info" and click on the "schedule" tab it will take you to this page: chat.stackoverflow.com/rooms/info/110313/…
Jan 12, 2019 18:06
But it is primarily object oriented and focuses on correctness and the ability to change behavior at just about any point.
Jan 12, 2019 18:04
I think Python is a rather good functional language for beginners because it allows code to be written in the functional paradigm, and because it's easy to read and understand (or so I think) it's easy to teach beginners about programming.
Dec 28, 2018 16:50
I still fail in understanding Monads :/
I was reading through fredoverflow's suggested paper here: https://page.mi.fu-berlin.de/scravy/realworldhaskell/materialien/the-essence-of-functional-programming.pdf and understood the stuff till page 7 (Variation Two) where it suddenly goes from the simple wrapper carrying extra information to a function that makes absolutely no sense to me. Could anyone explain that in simple words to me?
Dec 23, 2018 01:28
Dec 23, 2018 01:06
@MisterGeeky the lambda indicates it came from my terminal, I'm using GHCI version 8.4.4
Dec 14, 2018 18:43
Nov 18, 2018 17:03
0
Q: Haskell, some input, some analysis, some output

Aaron HallI'm learning Haskell, and I've finally gotten around to coding up some Haskell. This code passed my tests. This code takes a line from standard in which tells it how many cases it's going to have (1 to 5), and for each case, it takes a line telling it how many pairs (max of 100) of x's and y's i...

Nov 11, 2018 19:04
@AaronHall The "join favourite rooms" button ;)
1 2