Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-12 08:38:26 <tony42> ok thank you Maerwald, it did have a specific download for apple silicon
2021-04-12 08:44:35 akhesaca1o is now known as akhesacaro
2021-04-12 08:45:36 × drbean_ quits (~drbean@TC210-63-209-92.static.apol.com.tw) (Ping timeout: 265 seconds)
2021-04-12 08:49:05 × rdivyanshu quits (uid322626@gateway/web/irccloud.com/x-tjgowmwnssyxkqkn) (Quit: Connection closed for inactivity)
2021-04-12 08:50:39 <jackdk> Is anyone familiar with the `some` library? I'm looking for a way to derive GEq. My type has four constructors, so it's not critical, but some TH would be nice
2021-04-12 08:52:22 × minoru_shiraeesh quits (~shiraeesh@109.166.56.28) (Ping timeout: 265 seconds)
2021-04-12 08:52:59 <jackdk> Ah, it seems to still be in dependent-sum-template
2021-04-12 08:55:18 mananamenos joins (~mananamen@62.red-88-11-67.dynamicip.rima-tde.net)
2021-04-12 08:55:57 <jackdk> hm, no. that only gives me GShow, and seems to be wired into the dependent-sum universe a bit
2021-04-12 08:57:01 fendor joins (~fendor@91.141.0.248.wireless.dyn.drei.com)
2021-04-12 08:57:12 <jackdk> no, the functions i need are there after all
2021-04-12 09:00:05 × plumenator[m] quits (plumenator@gateway/shell/matrix.org/x-mccaaaafsjcbbjtb) (Quit: Idle for 30+ days)
2021-04-12 09:02:40 nut joins (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
2021-04-12 09:09:06 × GZJ0X_ quits (~gzj@unaffiliated/gzj) (Remote host closed the connection)
2021-04-12 09:09:27 GZJ0X_ joins (~gzj@unaffiliated/gzj)
2021-04-12 09:09:40 × Guest61238 quits (~textual@2603-7000-3040-0000-35a2-98b5-94af-f785.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-04-12 09:09:41 × paddymahoney quits (~paddymaho@cpe9050ca207f83-cm9050ca207f80.cpe.net.cable.rogers.com) (Remote host closed the connection)
2021-04-12 09:10:09 × mananamenos quits (~mananamen@62.red-88-11-67.dynamicip.rima-tde.net) (Quit: Leaving)
2021-04-12 09:11:51 kiweun joins (~kiweun@2607:fea8:2a62:9600:c91f:da77:c91e:d06d)
2021-04-12 09:14:42 acidjnk_new joins (~acidjnk@p200300d0c72b950365222184c91f1222.dip0.t-ipconnect.de)
2021-04-12 09:15:07 mnrmnaugh is now known as awk
2021-04-12 09:15:11 ulidtko|k joins (~ulidtko@31.133.98.215)
2021-04-12 09:16:25 × kiweun quits (~kiweun@2607:fea8:2a62:9600:c91f:da77:c91e:d06d) (Ping timeout: 258 seconds)
2021-04-12 09:21:54 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2021-04-12 09:22:13 haskellstudent joins (~quassel@213-225-6-101.nat.highway.a1.net)
2021-04-12 09:22:39 Guest_69 joins (5d4bdf9b@93.75.223.155)
2021-04-12 09:23:58 × nut quits (~user@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 240 seconds)
2021-04-12 09:25:03 awk is now known as mnrmnaugh
2021-04-12 09:26:31 <Guest_69> Hi haskellers, question from noobie why https://www.haskell.org/ghcup/ installs cabal and not stack?
2021-04-12 09:27:07 <sclv> because stack has its own installer
2021-04-12 09:27:21 <sclv> and ghcup is for installing ghc and cabal
2021-04-12 09:27:23 <Guest_69> I have trouble with cabal => installed Haskell => install blaze-markup => iHaskell call import => ending with Could not find module ‘Text.Blaze.Html4.Strict’
2021-04-12 09:27:47 <Guest_69> but Haskell.org/ghcup sounds very official, like way to go
2021-04-12 09:28:06 <Guest_69> cabal and stack can live together or they conflict?
2021-04-12 09:28:55 <Guest_69> * installed IHaskell (https://github.com/gibiansky/IHaskell)
2021-04-12 09:29:25 idhugo_ joins (~idhugo@87-49-44-84-mobile.dk.customer.tdc.net)
2021-04-12 09:29:29 <Guest_69> Haskell port to Jupiter (wanna drop some functional code into the cells
2021-04-12 09:29:44 <sclv> they can live together. stack installs its own ghc even. its totally removed from the system toolchain
2021-04-12 09:30:33 <Guest_69> so stack its like nvm, ram or virtualenv from python?
2021-04-12 09:30:44 <Guest_69> rvm* for ruby
2021-04-12 09:31:30 <Guest_69> if so what's the difference of ghcup against stack?
2021-04-12 09:31:52 <Guest_69> ghcup manages only single ghc?
2021-04-12 09:31:58 × idhugo quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 252 seconds)
2021-04-12 09:32:40 × rnat2 quits (uid73555@gateway/web/irccloud.com/x-xyybgrwhpsswrqnb) (Quit: Connection closed for inactivity)
2021-04-12 09:32:54 <maerwald> Guest_69: stack incorporates a) tool to develop haskell projects b) automatic installation of GHC c) package release sets as opposed to rolling. ghcup is just an installer for GHC and cabal. Cabal is the other tool to develop haskell projects
2021-04-12 09:33:34 <maerwald> So a common (but not only) combination is: 1. stack or 2. ghcup + cabal
2021-04-12 09:35:06 worc3131 joins (~quassel@2a02:c7f:dcc4:6500:cf0e:3346:8766:ab20)
2021-04-12 09:37:04 <maerwald> in terms of philosphy you could say stack is more "batteries included" and ghcup+cabal more UNIX
2021-04-12 09:37:33 <maerwald> there's nothing major you can't achieve with either tool... it boils down to taste, mostly
2021-04-12 09:37:52 <maerwald> so every beginner has to waste half an hour on this question :)
2021-04-12 09:39:46 <maerwald> like kung fu vs karate
2021-04-12 09:40:06 <Guest_69> reading article https://medium.com/@fommil/why-not-both-8adadb71a5ed sayd cabal for libs and stack for apps
2021-04-12 09:41:39 <Guest_69> I think I just need some more time to get into it… my main points right now is that I want to add blaze-markup (or any other lib) so it can be available from iHaskell (installed from any random location with `cabal install ihaskell` and then `~/.cabal/bin/ihaskell install`)
2021-04-12 09:42:25 <Guest_69> when doing `import Text.Blaze.Html4.Strict` gives me `Could not find module ‘Text.Blaze.Html4.Strict’` though installation went well
2021-04-12 09:42:52 <maerwald> ihaskell README suggests using stack
2021-04-12 09:43:08 <maerwald> also https://github.com/gibiansky/IHaskell#where-are-my-packages-ihaskell--stack
2021-04-12 09:43:36 <Guest_69> should I create a cabal project? But package will be installed globally to my user `~/.cabal/packages/hackage.haskell.org/`
2021-04-12 09:43:46 <maerwald> unless you're already familiar with both tools, I suggest going with whatever the readme of the project you're using suggests
2021-04-12 09:44:24 <Guest_69> yes, it told to be so - but then I faced an issue and this one worked for me too https://github.com/gibiansky/IHaskell/issues/1128#issuecomment-560000760
2021-04-12 09:44:42 <Guest_69> so I have it installed with stack and cabal
2021-04-12 09:44:51 <kuribas> maerwald: kung-fu vs karate would be more like C++ vs functional programming.
2021-04-12 09:44:59 <kuribas> maerwald: other way around
2021-04-12 09:45:05 <maerwald> it seems you're neck deep in tooling issues already
2021-04-12 09:45:16 <maerwald> I'm sorry for that
2021-04-12 09:45:27 <Guest_69> my problem was with that `GHC_PACKAGE_PATH`
2021-04-12 09:45:59 <maerwald> kuribas: C++ isn't a langague, it's a language toolbox :p
2021-04-12 09:46:20 <Guest_69> imports didn't recognize new things installed
2021-04-12 09:46:39 DavidEichmann joins (~david@47.27.93.209.dyn.plus.net)
2021-04-12 09:47:02 <kuribas> maerwald: more like a moster of frankenstein language
2021-04-12 09:49:27 Guest_6943 joins (5d4bdf9b@93.75.223.155)
2021-04-12 09:49:56 <kuribas> maerwald: KungFu isn't a martial arts style, it literally means "discipline", or "skill".
2021-04-12 09:50:14 <kuribas> maerwald: you could have Kung-Fu in haskell :)
2021-04-12 09:50:37 <Guest_6943> karate is a subclass to kungfu (or maybe some other Indian guy)
2021-04-12 09:50:53 <Guest_6943> so what I think to do, remove stack/cabal - reinstall iHaskell
2021-04-12 09:51:14 <Guest_6943> setup `GHC_PACKAGE_PATH` with output from `stack path --ghc-package-path`
2021-04-12 09:51:23 × Guest_69 quits (5d4bdf9b@93.75.223.155) (Ping timeout: 240 seconds)
2021-04-12 09:51:37 <Guest_6943> and do the `source .env && Jupiter notebook` in the new "Haskell project"
2021-04-12 09:51:48 <Guest_6943> and do the `source .env \& Jupiter notebook` in the new "Haskell project"
2021-04-12 09:51:54 <Guest_6943> and do the `source .env \&& Jupiter notebook` in the new "Haskell project"
2021-04-12 09:52:09 <Guest_6943> can't remove duplicates 🤔
2021-04-12 09:52:13 × gnumonic quits (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
2021-04-12 09:53:30 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2021-04-12 09:56:41 viluon joins (uid453725@gateway/web/irccloud.com/x-nfhjdcxtvlbhsvti)
2021-04-12 09:57:16 × jpe90 quits (~user@pool-108-31-85-19.washdc.fios.verizon.net) (Ping timeout: 252 seconds)
2021-04-12 10:01:18 Alleria joins (~textual@zrcout.mskcc.org)
2021-04-12 10:01:42 Alleria is now known as Guest19986
2021-04-12 10:04:08 × Guest_6943 quits (5d4bdf9b@93.75.223.155) (Quit: Ping timeout (120 seconds))
2021-04-12 10:05:57 Rudd0 joins (~Rudd0@185.189.115.108)
2021-04-12 10:06:13 × quinn quits (~quinn@c-73-223-224-163.hsd1.ca.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in)
2021-04-12 10:07:38 quinn joins (~quinn@c-73-223-224-163.hsd1.ca.comcast.net)
2021-04-12 10:08:10 × xff0x quits (~xff0x@2001:1a81:52af:1400:3ce5:1261:85cb:8b42) (Ping timeout: 258 seconds)
2021-04-12 10:08:51 xff0x joins (~xff0x@2001:1a81:52af:1400:26ad:e192:c14b:a6d5)
2021-04-12 10:10:58 dhil joins (~dhil@80.208.56.181)
2021-04-12 10:13:01 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
2021-04-12 10:13:08 × solvr quits (57e3c46d@87.227.196.109) (Quit: Connection closed)
2021-04-12 10:14:42 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-12 10:19:46 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-04-12 10:20:29 comerijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-12 10:21:42 gnumonic joins (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net)
2021-04-12 10:21:44 quaestor joins (~quaestor@griffith.christophrauch.de)

All times are in UTC.