Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 970 971 972 973 974 975 976 977 978 979 980 .. 18029
1,802,826 events total
2021-07-16 04:32:27 <dmj`> andrews: be safe in space son, https://gist.github.com/553bfca04ffb25efa893d4a4950ede6e
2021-07-16 04:35:04 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
2021-07-16 04:37:14 <dsal> I think that modern style of making code really tall is weird. I'm probably going to have to be doing that soon.
2021-07-16 04:37:47 cheater1 is now known as cheater
2021-07-16 04:41:06 <andrews> dmj`, I won't look at your code until I figure it out myself
2021-07-16 04:41:11 <andrews> otherwise I won't learn anything
2021-07-16 04:41:49 × elf_fortrez quits (~elf_fortr@adsl-72-50-4-118.prtc.net) (Ping timeout: 246 seconds)
2021-07-16 04:42:10 <dmj`> andrews: in order to understand recursion, one must first understand recursion
2021-07-16 04:42:25 <andrews> top lel
2021-07-16 04:43:14 <dsal> Don't like at mine, either. I personally find this easier to read, but people like ormolu which took inspiration from elm. https://www.irccloud.com/pastebin/uNkbCMRe/ageOn.hs
2021-07-16 04:43:22 <dsal> Which suddenly reminds me of the project I wanted to work on tonight.
2021-07-16 04:43:59 <andrews> I got a copy of Haskell programming first principles
2021-07-16 04:44:03 <andrews> is it a good book
2021-07-16 04:44:07 <dsal> I liked it a lot.
2021-07-16 04:44:18 <andrews> did you read all 1000 pages?
2021-07-16 04:44:40 <dsal> I think so. That was a while ago.
2021-07-16 04:44:52 <andrews> are there any better books
2021-07-16 04:46:12 <dmj`> typeclassopedia is good
2021-07-16 04:48:10 <dmj`> not really a book, but a collection of stories about Haskell, like the Canterbury tales, it too is unfinished
2021-07-16 04:48:25 <dmj`> Canterbury tails
2021-07-16 04:48:37 <andrews> ok
2021-07-16 04:48:40 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-07-16 04:49:03 × Codaraxis quits (~Codaraxis@user/codaraxis) (Ping timeout: 255 seconds)
2021-07-16 04:49:12 <dmj`> @where typeclassopedia
2021-07-16 04:49:12 <lambdabot> http://www.haskell.org/haskellwiki/Typeclassopedia
2021-07-16 04:49:20 <EvanR> an encyclopedic account of haskell lore in the form of a choose your own adventure, with exercises at each stage. Should exist
2021-07-16 04:49:32 <andrews> so I guess Haskell programming first principles is the best book
2021-07-16 04:50:18 <sm> EvanR: +1!
2021-07-16 04:50:30 <sm> andrews: https://www.extrema.is/articles/haskell-books
2021-07-16 04:51:25 <EvanR> dead ends could be especially bad anti-patterns or unsolved problems in the haskell ecosystem
2021-07-16 04:51:45 <EvanR> "the ending has not yet been written"
2021-07-16 04:52:34 × _xor quits (~xor@74.215.232.67) (Quit: brb)
2021-07-16 04:54:52 × MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 252 seconds)
2021-07-16 04:55:00 <dmj`> andrews: I'd focus on the types and the typeclasses, work out the instances, implement them, reason about the laws, use them in real code, your intuition will grow in time. Don't rely on mnemonics like "feels like a container", etc. know that anything that obeys the law of a class is a valid instance of that class.
2021-07-16 04:56:02 <dsal> HPFFP walks through pretty well. Understanding all of the types probably isn't enough to understand how to write a program in Haskell.
2021-07-16 04:56:09 amahl joins (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi)
2021-07-16 04:57:19 silverwhitefish joins (~hidden@47.202.102.10)
2021-07-16 04:57:29 wei2912 joins (~wei2912@112.199.250.21)
2021-07-16 04:57:32 <andrews> Ok, I have Haskell in Depth... seems shorter than HPFFP
2021-07-16 04:58:33 <dmj`> exercises are good too https://wiki.haskell.org/H-99:_Ninety-Nine_Haskell_Problems, this shows a lot of different ways to write the solutions as well
2021-07-16 04:59:57 <andrews> should I use cabal or stack
2021-07-16 05:00:11 <andrews> for downloading the book exercises
2021-07-16 05:00:18 <andrews> for Haskell In Depth
2021-07-16 05:05:12 × TranquilEcho quits (~grom@user/tranquilecho) (Quit: WeeChat 2.8)
2021-07-16 05:05:16 × martums quits (~martums@user/martums) (Ping timeout: 246 seconds)
2021-07-16 05:06:37 chris_ joins (~chris@81.96.113.213)
2021-07-16 05:06:58 × amahl quits (~amahl@dsl-jklbng12-54fbca-64.dhcp.inet.fi) (Ping timeout: 252 seconds)
2021-07-16 05:07:38 MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com)
2021-07-16 05:11:52 × hpc quits (~juzz@ip98-169-35-13.dc.dc.cox.net) (Ping timeout: 258 seconds)
2021-07-16 05:12:51 <dmj`> andrews: either or
2021-07-16 05:13:25 <andrews> I'm going to read HID since it's the newest haskell book and is shorter than HFFP
2021-07-16 05:13:37 hpc joins (~juzz@ip98-169-35-13.dc.dc.cox.net)
2021-07-16 05:14:29 <andrews> does haskell come with a GUI toolkit
2021-07-16 05:14:35 <andrews> or I have to download one
2021-07-16 05:14:50 <andrews> Python comes bundled with TK
2021-07-16 05:20:53 <andrews> stack build takes forever and I have a 6 core CPU
2021-07-16 05:21:19 <andrews> and an nvME DDF
2021-07-16 05:21:20 <andrews> SSD*
2021-07-16 05:21:27 Codaraxis joins (~Codaraxis@user/codaraxis)
2021-07-16 05:22:21 × Null_A quits (~null_a@2601:645:8700:2290:187e:cdbe:3584:806) (Remote host closed the connection)
2021-07-16 05:22:40 × xff0x quits (~xff0x@2001:1a81:53d5:b900:e768:175e:26b1:ffc) (Quit: xff0x)
2021-07-16 05:23:35 wwalker joins (~wwalker@platinum.solid-constructs.com)
2021-07-16 05:24:03 <wwalker> Is there a way to enable a persistent command history in hugs?
2021-07-16 05:24:39 anandprabhu joins (~anandprab@94.202.243.198)
2021-07-16 05:26:51 × MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Read error: Connection reset by peer)
2021-07-16 05:27:25 MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com)
2021-07-16 05:27:38 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
2021-07-16 05:33:27 hgolden joins (~hgolden2@cpe-172-114-84-61.socal.res.rr.com)
2021-07-16 05:34:37 michalz joins (~michalz@185.246.204.61)
2021-07-16 05:35:04 × silverwhitefish quits (~hidden@47.202.102.10) (Quit: One for all, all for One (2 Corinthians 5))
2021-07-16 05:37:55 silverwhitefish joins (~hidden@47.202.102.10)
2021-07-16 05:39:14 elf_fortrez joins (~elf_fortr@adsl-72-50-4-118.prtc.net)
2021-07-16 05:40:05 × elf_fortrez quits (~elf_fortr@adsl-72-50-4-118.prtc.net) (Client Quit)
2021-07-16 05:40:42 × MQ-17J quits (~MQ-17J@d14-69-206-129.try.wideopenwest.com) (Ping timeout: 252 seconds)
2021-07-16 05:44:38 MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com)
2021-07-16 05:53:51 × ablutor quits (~quassel@wasscher.com) (Quit: going for vitamine d)
2021-07-16 05:54:50 ablutor joins (~quassel@wasscher.com)
2021-07-16 05:54:53 <janus> andrews: did you try stack build --ghc-options=-j ?
2021-07-16 05:56:52 <janus> andrews: i think most people do webapps if they want gui. but there are gtk, qt, and fltk bindings. i think thw fltk bindings are probably best maintained
2021-07-16 05:57:02 <janus> wwalker: you can use rlwrap
2021-07-16 05:59:25 <janus> s/thw/the
2021-07-16 06:06:17 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 268 seconds)
2021-07-16 06:07:11 <wwalker> janus: Thank you!
2021-07-16 06:08:51 _ht joins (~quassel@82-169-194-8.biz.kpn.net)
2021-07-16 06:12:55 <andrews> janus, thanks
2021-07-16 06:14:06 × zmt00 quits (~zmt00@user/zmt00) (Quit: Gone.)
2021-07-16 06:17:53 xff0x joins (~xff0x@2001:1a81:53d5:b900:e768:175e:26b1:ffc)
2021-07-16 06:18:33 paolino joins (~paolo@84.33.185.158)
2021-07-16 06:20:05 qbt joins (~edun@user/edun)
2021-07-16 06:21:22 fef joins (~thedawn@user/thedawn)
2021-07-16 06:21:41 awth13 joins (~user@user/awth13)
2021-07-16 06:22:28 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-07-16 06:26:42 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 255 seconds)
2021-07-16 06:27:08 chele joins (~chele@user/chele)
2021-07-16 06:27:41 <dsal> andrews: shorter doesn't necessarily mean it's a better book that will teach you more, but reading anything will probably help.
2021-07-16 06:28:58 lavaman joins (~lavaman@98.38.249.169)
2021-07-16 06:31:44 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-07-16 06:33:27 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 265 seconds)
2021-07-16 06:33:46 <dsal> andrews: the first build of your project might be slow. nix sometimes speeds it up a lot depending on how bleeding edge your compiler is.
2021-07-16 06:35:41 chexum_ is now known as chexum

All times are in UTC.