2024/06/30

Newest at the top

2024-06-30 19:26:14 +0200 <lambdabot> ((a, b) -> c) -> a -> b -> c
2024-06-30 19:26:13 +0200 <mreh> :t curry
2024-06-30 19:25:46 +0200 <Lawrence1erkheim> mmmm
2024-06-30 19:25:42 +0200 <mreh> s/curried/Curried/
2024-06-30 19:25:22 +0200 <mreh> functions in haskell are curried
2024-06-30 19:25:21 +0200 <monochrom> It means `Integer -> (Integer -> Integer)` if you know what I mean.
2024-06-30 19:25:15 +0200 <Lawrence1erkheim> I assume it denotes a function that takes two integers and returns one
2024-06-30 19:24:54 +0200 <Lawrence1erkheim> I find the `Integer -> Integer -> Integer` very strange though
2024-06-30 19:24:42 +0200 <mreh> damn, I gotta brush up
2024-06-30 19:24:32 +0200 <lambdabot> <hint>:1:1: error: parse error on input ‘data’
2024-06-30 19:24:30 +0200 <mreh> > data Basedness = Based | Debased
2024-06-30 19:24:22 +0200simendsjo(~user@84.209.170.3)
2024-06-30 19:23:55 +0200 <Lawrence1erkheim> Now looking at what `data` means. I found some lesson `.hs` files, and at lesson 2 they started dropping the `data` blablabla
2024-06-30 19:23:25 +0200 <Lawrence1erkheim> I'm just going through https://soupi.github.io/rfc/reading_simple_haskell/ that was suggested
2024-06-30 19:22:05 +0200 <Rembane> Lawrence1erkheim: I need to see that explanation! Where did you find it?
2024-06-30 19:21:04 +0200 <Lawrence1erkheim> omg based it explains what the `::` notation means
2024-06-30 19:21:00 +0200 <geekosaur> muchless that becoming the default
2024-06-30 19:20:59 +0200 <dolio> Hahaha. Yeah.
2024-06-30 19:20:48 +0200 <geekosaur> it even predates `ghc --make`!
2024-06-30 19:20:29 +0200 <dolio> Which I assume are being used.
2024-06-30 19:20:13 +0200 <dolio> Also it's too old for any build tools to exist.
2024-06-30 19:19:53 +0200dcoutts(~duncan@212.187.183.33) (Ping timeout: 252 seconds)
2024-06-30 19:19:52 +0200tzh(~tzh@c-76-115-131-146.hsd1.or.comcast.net)
2024-06-30 19:19:52 +0200 <dolio> Well, I was thinking about, 'I already know FP principles.' But it also doesn't provide the missing information.
2024-06-30 19:19:43 +0200 <Rembane> Stochastic parrot is one of my favourite birds!
2024-06-30 19:19:18 +0200 <monochrom> (Well, I learned both Chinese and English by "just read/listen" and then "just stochastic parrot". Don't underestimate the power of that.)
2024-06-30 19:19:13 +0200 <geekosaur> the GI is fine if you already know SML/NJ, including how to build and run programs. it's lousy for any other background
2024-06-30 19:18:33 +0200 <dolio> It might explain the mundane details of how you actually compile and run a Haskell project, though. Which, like, the gentle introduction doesn't seem to do.
2024-06-30 19:18:05 +0200 <monochrom> https://soupi.github.io/rfc/reading_simple_haskell/ can get you started quickly if you just need to read.
2024-06-30 19:17:17 +0200 <monochrom> or RUH haha
2024-06-30 19:16:58 +0200 <Lawrence1erkheim> Thanks yall
2024-06-30 19:16:57 +0200 <monochrom> In the university setting, RWH is likely tangential. I mean, it is not called AWH for a reason. >:)
2024-06-30 19:16:54 +0200 <Lawrence1erkheim> Very nice
2024-06-30 19:16:14 +0200 <monochrom> If the question is "what are module and import", the wikibook up there has it; but I learned it from the Haskell Report itself, the wikibook didn't exist back then. (Alternatively, it should be very easy to guess.)
2024-06-30 19:16:07 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-06-30 19:15:57 +0200 <geekosaur> byorgey keeps the first one up to date, the community keeps the second up to date
2024-06-30 19:15:38 +0200 <lambdabot> http://en.wikibooks.org/wiki/Haskell
2024-06-30 19:15:38 +0200 <geekosaur> @where wikibook
2024-06-30 19:15:32 +0200 <lambdabot> <https://github.com/byorgey/haskell-course>,<https://www.seas.upenn.edu/~cis194/spring13/lectures.html>
2024-06-30 19:15:32 +0200 <geekosaur> @where cis194
2024-06-30 19:15:28 +0200 <geekosaur> I'd look at CIS194 and/or the wikibook
2024-06-30 19:14:57 +0200 <mreh> Lawrence1erkheim: honestly I would just do the exercises and ask in here if you get stuck
2024-06-30 19:14:43 +0200 <mreh> sorry ignore that
2024-06-30 19:14:37 +0200 <dolio> Yeah.
2024-06-30 19:14:22 +0200 <mreh> did someone mention RWH??
2024-06-30 19:14:06 +0200dcoutts(~duncan@212.187.183.33)
2024-06-30 19:13:45 +0200 <dolio> The concrete stuff asked about above just seems to be how to write programs with multiple files, or using libraries.
2024-06-30 19:13:09 +0200 <dolio> It doesn't seem likely that a college course on Haskell is going to be super focused on the details of particular trendy libraries.
2024-06-30 19:13:03 +0200 <mreh> YouTube is super good these days
2024-06-30 19:12:17 +0200 <Rembane> Indeed. This is where it gets tricky. :)