Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-01 17:07:02 hendursa1 joins (~weechat@gateway/tor-sasl/hendursaga)
2021-04-01 17:08:06 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
2021-04-01 17:08:48 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-01 17:09:28 × Tops2 quits (~Tobias@dyndsl-091-249-083-121.ewe-ip-backbone.de) (Read error: Connection reset by peer)
2021-04-01 17:10:05 mkDoku joins (~TheMule@aftr-37-201-195-154.unity-media.net)
2021-04-01 17:10:51 kiweun joins (~kiweun@2607:fea8:2a62:9600:e8e1:75c:483a:e022)
2021-04-01 17:11:36 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-04-01 17:12:11 × machinedgod quits (~machinedg@135-23-192-217.cpe.pppoe.ca) (Ping timeout: 260 seconds)
2021-04-01 17:12:28 × kiweun quits (~kiweun@2607:fea8:2a62:9600:e8e1:75c:483a:e022) (Remote host closed the connection)
2021-04-01 17:13:13 Guest87001 is now known as zzz
2021-04-01 17:16:02 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
2021-04-01 17:16:02 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 246 seconds)
2021-04-01 17:16:54 <xaltsc> Hey, I don't understand how ReadInt from Numeric works. I'm trying to parse a base 36 string into an Int, but the following below fails
2021-04-01 17:18:42 <xaltsc> https://pastebin.com/YKDvcUWV
2021-04-01 17:19:06 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
2021-04-01 17:19:55 <zzz> hi. what is a quick and dirty way to use a import a library for use within a single .hs file? just for quick experimentation purposes?
2021-04-01 17:20:24 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-01 17:20:53 <xaltsc> nvmd I'm dumb
2021-04-01 17:20:53 × jespada quits (~jespada@90.254.243.187) (Quit: Leaving)
2021-04-01 17:21:33 × Tario quits (~Tario@201.192.165.173) (Read error: Connection reset by peer)
2021-04-01 17:22:12 <bgamari_> xaltsc, yeah, I think you have a '1' in place of a '9'
2021-04-01 17:22:26 <xaltsc> bgamari_: indeed...
2021-04-01 17:22:31 <bgamari_> zzz, cabal install --lib $PACKAGE
2021-04-01 17:22:37 <xaltsc> Took me an hour to find it though...
2021-04-01 17:22:43 <bgamari_> then you can use ghc as usual
2021-04-01 17:25:08 justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311)
2021-04-01 17:25:41 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-04-01 17:26:27 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-01 17:26:47 <zzz> bgamari_: im getting "cabal: option `--lib' is ambiguous;"
2021-04-01 17:27:20 <bgamari_> hmm
2021-04-01 17:27:32 <bgamari_> perhaps your cabal-install is too old; perhaps try `cabal v2-install --lib $PACKAGE`
2021-04-01 17:28:13 <bgamari_> zzz, ^
2021-04-01 17:30:09 <zzz> whats the difference between cabal new-command and cabal v2-command?
2021-04-01 17:30:28 <zzz> and how can i update cabal itself?
2021-04-01 17:30:33 <zzz> man cabal is confusing
2021-04-01 17:30:49 <tapas> they're the same and the distinction went away as of 3.0
2021-04-01 17:30:57 v01d4lph4 joins (~v01d4lph4@223.190.20.92)
2021-04-01 17:30:59 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-04-01 17:31:04 <tapas> cabal install for cabal > 3.0 is now the v2 command
2021-04-01 17:31:41 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-04-01 17:32:03 Matt_P joins (~Matt_P@178.239.168.171)
2021-04-01 17:32:49 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-01 17:35:57 × v01d4lph4 quits (~v01d4lph4@223.190.20.92) (Ping timeout: 252 seconds)
2021-04-01 17:36:44 <kilolympus> and updating cabal can be done either manually or using tools like ghcup
2021-04-01 17:38:26 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
2021-04-01 17:38:34 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-01 17:39:47 <bgamari_> zzz, indeed this transition has been a tad confusing
2021-04-01 17:41:39 × jjhoo quits (jahakala@dsl-trebng21-b048b5-171.dhcp.inet.fi) (Ping timeout: 248 seconds)
2021-04-01 17:41:43 × Narinas quits (~Narinas@187-178-93-112.dynamic.axtel.net) (Read error: Connection reset by peer)
2021-04-01 17:42:08 deviantfero joins (~deviantfe@190.150.27.58)
2021-04-01 17:42:08 <L29Ah> bgamari_: done, clone it and do time cabal run hyborg -- --verbose --dry-run create --progress foo::bar /usr/src/linux/* +RTS -M500M -hC -l -xt -L500
2021-04-01 17:42:19 <L29Ah> assuming you have the linux kernel sources at /usr/src/linux
2021-04-01 17:42:30 <L29Ah> or some other heavy stuff with lots of files, i presume
2021-04-01 17:42:51 <bgamari_> cool beans
2021-04-01 17:43:01 Narinas joins (~Narinas@187-178-93-112.dynamic.axtel.net)
2021-04-01 17:43:07 <L29Ah> should tell it ran out of ram in <1min
2021-04-01 17:43:36 shad0w_ joins (a0ca25aa@160.202.37.170)
2021-04-01 17:43:38 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
2021-04-01 17:44:38 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-01 17:45:11 Tario joins (~Tario@201.192.165.173)
2021-04-01 17:46:06 × rajivr quits (uid269651@gateway/web/irccloud.com/x-motebfwgumyfxduw) (Quit: Connection closed for inactivity)
2021-04-01 17:46:57 × puke quits (~vroom@217.138.252.216) (Remote host closed the connection)
2021-04-01 17:47:16 puke joins (~vroom@217.138.252.216)
2021-04-01 17:48:54 × ph88_ quits (~ph88@2a02:8109:9e00:7e5c:7952:e29c:e0:390d) (Ping timeout: 246 seconds)
2021-04-01 17:49:25 × kritzefitz quits (~kritzefit@fw-front.credativ.com) (Remote host closed the connection)
2021-04-01 17:50:01 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
2021-04-01 17:50:02 ezrakilty joins (~ezrakilty@97-126-95-37.tukw.qwest.net)
2021-04-01 17:50:40 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-01 17:50:41 × stree quits (~stree@68.36.8.116) (Ping timeout: 240 seconds)
2021-04-01 17:51:56 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
2021-04-01 17:54:35 × conal quits (~conal@192.145.118.200) (Quit: Computer has gone to sleep.)
2021-04-01 17:55:56 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 260 seconds)
2021-04-01 17:56:20 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-01 17:58:53 conal joins (~conal@192.145.118.200)
2021-04-01 18:00:30 fendor_ is now known as fendor
2021-04-01 18:00:45 × kmein quits (~weechat@static.173.83.99.88.clients.your-server.de) (Quit: ciao kakao)
2021-04-01 18:01:02 kmein joins (~weechat@static.173.83.99.88.clients.your-server.de)
2021-04-01 18:01:28 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
2021-04-01 18:01:45 rond_ joins (59402019@89-64-32-25.dynamic.chello.pl)
2021-04-01 18:01:48 × shad0w_ quits (a0ca25aa@160.202.37.170) (Quit: Connection closed)
2021-04-01 18:02:38 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-04-01 18:04:05 stree joins (~stree@68.36.8.116)
2021-04-01 18:04:09 jjhoo joins (jahakala@dsl-trebng21-b048b5-171.dhcp.inet.fi)
2021-04-01 18:09:11 × grumble quits (~Thunderbi@freenode/staff/grumble) (Killed (Fuchs (♥ you)))
2021-04-01 18:09:50 grumble joins (~Thunderbi@freenode/staff/grumble)
2021-04-01 18:11:53 <xerox_> is there a traversable zip
2021-04-01 18:12:47 <xerox_> that is, a more generic zip, to for example zip two `Data.Tree's
2021-04-01 18:12:56 fosterite joins (~fosterite@2600:6c46:7800:fecf:4f6:3240:91c8:4b9)
2021-04-01 18:13:46 jathan joins (~jathan@69.61.93.38)
2021-04-01 18:14:20 × thc202 quits (~thc202@unaffiliated/thc202) (Quit: thc202)
2021-04-01 18:14:30 <xerox_> I was hopeful zip/zipWith were already that now that length and friends are more generic through Foldable
2021-04-01 18:14:41 × ezrakilty quits (~ezrakilty@97-126-95-37.tukw.qwest.net) (Remote host closed the connection)
2021-04-01 18:14:57 Tuplanolla joins (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi)
2021-04-01 18:15:13 × ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection)
2021-04-01 18:16:14 ukari joins (~ukari@unaffiliated/ukari)
2021-04-01 18:17:38 acarrico joins (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net)
2021-04-01 18:19:51 <sclv> xerox_: a lot of “generics” pkgs provide that on Data, eg https://hackage.haskell.org/package/regular-0.3.4.4/docs/Generics-Regular-Functions-Zip.html#t:Zip
2021-04-01 18:19:57 × mkDoku quits (~TheMule@aftr-37-201-195-154.unity-media.net) (Ping timeout: 252 seconds)
2021-04-01 18:20:35 <sclv> and there’s also nice typeclasses for such things in the These package https://hackage.haskell.org/package/these
2021-04-01 18:21:14 × dyeplexer quits (~lol@unaffiliated/terpin) (Remote host closed the connection)

All times are in UTC.