· 8 years ago · Oct 11, 2017, 04:52 PM
1‎[Saturday, October 7, 2017] [2:00:02 AM CEST] ‎|Quit|‎ selenamarie (~selenamar@184.75.221.3) has left this server.
2‎[Saturday, October 7, 2017] [2:00:21 AM CEST] ‎|Quit|‎ ziocroc3 (~ziocroc@151.74.89.206) has left this server (Ping timeout: 240 seconds).
3‎[Saturday, October 7, 2017] [2:00:56 AM CEST] ‎|Join|‎ ego (~ego@parallaxcorporation.xyz) has joined this channel.
4‎[Saturday, October 7, 2017] [2:04:58 AM CEST] ‎|Join|‎ tomsn (~tom@5.146.198.217) has joined this channel.
5‎[Saturday, October 7, 2017] [2:05:20 AM CEST] ‎|Join|‎ superfly1 (~superfly@89.238.178.75) has joined this channel.
6‎[Saturday, October 7, 2017] [2:07:52 AM CEST] ‎|Quit|‎ jb55 (~jb55@208.98.200.100) has left this server (Ping timeout: 255 seconds).
7‎[Saturday, October 7, 2017] [2:08:34 AM CEST] ‎|Quit|‎ herr_jth (~HerrJth@ip5f5bf4db.dynamic.kabel-deutschland.de) has left this server.
8‎[Saturday, October 7, 2017] [2:09:24 AM CEST] ‎|Join|‎ Alovenom (~dragon@43-226-6-155.static.rise.as) has joined this channel.
9‎[Saturday, October 7, 2017] [2:09:55 AM CEST] ‎|Quit|‎ conal_ (~conal@209.58.139.26) has left this server (Quit: Computer has gone to sleep.).
10‎[Saturday, October 7, 2017] [2:10:36 AM CEST] ‎|Quit|‎ t7 (~chatzilla@host5-81-219-142.range5-81.btcentralplus.com) has left this server (Remote host closed the connection).
11‎[19:14] --> You (~inkbottle@AAubervilliers-655-1-56-77.w86-218.abo.wanadoo.fr) have joined the channel #haskell.
12‎[19:14] *** The channel topic is "https://www.haskell.org | https://wiki.haskell.org/IRC_channel | Paste code/errors: http://lpaste.net/new/haskell | Logs: http://tunes.org/~nef/logs/haskell/?C=M;O=D | https://www.reddit.com/r/haskell | Admin: #haskell-ops | Offtopic: #haskell-offtopic | https://downloads.haskell.org | https://summer.haskell.org Summer of Haskell 2017".
13‎[19:14] *** The topic was set by mauke!5lzdiZJQGk@p3m/member/mauke on 7/31/17 2:45 PM.
14‎[19:14] *** Channel URL: http://www.haskell.org/
15‎[19:14] *** Channel modes: C, L, no messages from outside, private, topic protection, z
16‎[19:14] *** This channel was created on 11/26/06 7:42 AM.
17‎[19:14] ‎<‎onceuponatimeloo‎>‎ hello haskellers I heard haskell not at a good language to learn algoithms with true?
18‎[19:15] --> roconnor__ (~roconnor@host-192.252-163-58.dyn.295.ca) has joined this channel.
19‎[19:16] ‎<‎nshepperd_‎>‎ michalrus: maybe this could be a Data.Map function. generateA :: (Applicative f) => [a] -> (a -> f b) -> f (Map a b)
20‎[19:16] --> pja (~pja@2a02:8010:6098:0:6af:be1f:1474:6f2a) has joined this channel.
21‎[19:17] ‎<‎Myrl-saki‎>‎ is `:: [Char]` really that bad/
22‎[19:17] ‎<‎inkbottle‎>‎ [noob] is/has: "a type is an instance of a typeclass" vs. "type a has an instance of Eq"; I don't understand the terminology "has"
23‎[19:17] --> Swizec (~swizec@199.21.86.210) has joined this channel.
24‎[19:17] ‎<‎mnoonan‎>‎ onceuponatimeloo, possibly true. lots of algorithms are often describe as using mutable state, which is not quite straightforward.
25‎[19:18] ‎<‎mnoonan‎>‎ e.g. the very first algorithm on the wikipedia page
26‎[19:18] ‎<‎Myrl-saki‎>‎ I don't see much problem with `:: [Char]`. I find it convenient that a lot of functions work on it. Can someone change my view?
27‎[19:18] <-- DTZUZO (~DTZUZO@S0106bcd16584b0aa.vs.shawcable.net) has left this server (Ping timeout: 248 seconds).
28‎[19:18] ‎<‎onceuponatimeloo‎>‎ mnoonan: so with haskell we cant solve algorithms then what we will do ?
29‎[19:18] <-- serendependy (~christoph@129.255.227.132) has left this server (Ping timeout: 255 seconds).
30‎[19:18] --> raynold (uid201163@gateway/web/irccloud.com/x-gqjhcocwhyncmrte) has joined this channel.
31‎[19:19] ‎<‎aarvar‎>‎ onceuponatimeloo: heard from who
32‎[19:19] <-- dhil (~dhil@dhcp-90-078.inf.ed.ac.uk) has left this server (Ping timeout: 258 seconds).
33‎[19:19] ‎<‎mnoonan‎>‎ onceuponatimeloo: you can, it is just either noisier (for a direct translation) or more subtle (for a translation to pure data structures). so if you are learning algorithms for the first time from a typical source, imo haskell would mostly just add obstacles.
34‎[19:19] --> jp_rider (~Adium@2601:152:4103:4410:75bd:1d80:5742:f72d) has joined this channel.
35‎[19:19] <-- jp_rider (~Adium@2601:152:4103:4410:75bd:1d80:5742:f72d) has left this server (Client Quit).
36‎[19:20] ‎<‎onceuponatimeloo‎>‎ aarvar: google
37‎[19:21] ‎<‎inkbottle‎>‎ [is/has] It seems I have some answer here: https://www.quora.com/In-Haskell-is-it-technically-correct-to-say-X-has-an-instance-of-typeclass
38‎[19:21] --> wollw (~rshere@108-208-193-216.lightspeed.sntcca.sbcglobal.net) has joined this channel.
39‎[19:21] <-- ystael (~ystael@50-199-243-61-static.hfc.comcastbusiness.net) has left this server (Ping timeout: 260 seconds).
40‎[19:21] *** johnw_ is now known as johnw.
41‎[19:21] <-- eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Remote host closed the connection).
42‎[19:21] <-- johnw (~johnw@2602:304:cea4:5950:e018:4b96:37f7:dd99) has left this server (Changing host).
43‎[19:21] --> johnw (~johnw@haskell/developer/johnw) has joined this channel.
44‎[19:22] <-- ub (~ub@ip5b405526.dynamic.kabel-deutschland.de) has left this server (Quit: Leaving).
45‎[19:22] *** bcoppens is now known as bcoppens_.
46‎[19:22] --> CoderPuppy (~cpup@32.218.118.196) has joined this channel.
47‎[19:23] <-- Saukk (~Saukk@a91-156-131-210.elisa-laajakaista.fi) has left this server (Remote host closed the connection).
48‎[19:23] ‎<‎_sras_‎>‎ What is actually happening when a 'stack build' errors out with a linker error such as "/usr/bin/ld: cannot find -lHSopaleye-0.5.4.0-BRLCqVY9AJXBFXQwXTO0hf "?
49‎[19:23] <-- towerio (~towerio@137.139.199.6) has left this server (Ping timeout: 240 seconds).
50‎[19:24] <-- conal_ (~conal@174.128.230.166) has left this server (Quit: Computer has gone to sleep.).
51‎[19:24] --> Apocalisp (~textual@172.110.61.179) has joined this channel.
52‎[19:25] <-- cpup (~cpup@32.218.118.182) has left this server (Ping timeout: 260 seconds).
53‎[19:25] <-- peterbecich (~peterbeci@47.37.164.78) has left this server (Read error: Connection reset by peer).
54‎[19:25] --> davr0s (~textual@host86-162-141-37.range86-162.btcentralplus.com) has joined this channel.
55‎[19:25] --> osa1 (~omer@haskell/developer/osa1) has joined this channel.
56‎[19:26] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
57‎[19:26] <-- xcmw (~textual@216.48.140.139) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
58‎[19:27] ‎<‎nshepperd_‎>‎ Myrl-saki: [Char] is very inefficient in time and memory
59‎[19:27] --> towerio (~towerio@137.139.199.6) has joined this channel.
60‎[19:27] --> xcmw (~textual@host-129-137-24-5.vpn.uc.edu) has joined this channel.
61‎[19:27] --> poliquin (~poliquin@96-86-180-189-static.hfc.comcastbusiness.net) has joined this channel.
62‎[19:27] --> poliquin_ (~poliquin@96-86-180-189-static.hfc.comcastbusiness.net) has joined this channel.
63‎[19:27] ‎<‎Myrl-saki‎>‎ nshepperd_: Right, but it's also the most flexible to handle, right?
64‎[19:28] ‎<‎onceuponatimeloo‎>‎ mnoonan: so what can be good language to learn algorithms with ?
65‎[19:28] ‎<‎nshepperd_‎>‎ But it's not really bad if the strings in your program are only short things like "hello world"
66‎[19:28] <-- zaquest (~notzaques@5.128.210.30) has left this server (Ping timeout: 260 seconds).
67‎[19:28] ‎<‎aweinstock‎>‎ Haskell's pretty good at stateful algorithms, just use Control.Monad.ST
68‎[19:28] ‎<‎aweinstock‎>‎ (and Data.STRef)
69‎[19:29] ‎<‎nshepperd_‎>‎ Myrl-saki: well, Data.Text has functions for everything you can do with lists
70‎[19:30] ‎<‎mnoonan‎>‎ aweinstock: *cough*UNION-FIND*cough*
71‎[19:30] --> peterbecich (~peterbeci@47.37.164.78) has joined this channel.
72‎[19:30] ‎<‎aweinstock‎>‎ mnoonan: I thought that union-find's asymptotic efficiency was one of the motivations for ST in the first place?
73‎[19:30] *** meandi_3 is now known as meandi.
74‎[19:30] <-- petercommand (~peter@unaffiliated/petercommand) has left this server (Remote host closed the connection).
75‎[19:31] --> biglama (~Day_dream@ip-188.net-82-216-175.joinville2.rev.numericable.fr) has joined this channel.
76‎[19:31] <-- xcmw (~textual@host-129-137-24-5.vpn.uc.edu) has left this server (Ping timeout: 240 seconds).
77‎[19:32] ‎<‎dsal‎>‎ So, I've got taffybar installed from cabal, but it complains about -rtsopts not being enabled. How do I make that not be the case?
78‎[19:32] ‎<‎mnoonan‎>‎ aweinstock: i guess it's ok, except that all of the users of your disjoint-sets have to work in ST too. but now that I say it out loud, it doesn't seem so bad.
79‎[19:33] ‎<‎aweinstock‎>‎ mnoonan: that's correct; reading the disjoint set needs to be able to mutably update the parent pointers, so it needs to live in ST for type-safety
80‎[19:33] --> caasih (~caasihuan@106.186.125.58) has joined this channel.
81‎[19:33] ‎<‎mnoonan‎>‎ fair enough, I take back my snarky cough :)
82‎[19:34] <-- whald (~trem@ip5f5b384b.dynamic.kabel-deutschland.de) has left this server (Ping timeout: 258 seconds).
83‎[19:35] <-- lambda-11235 (~lambda-11@campus-096-246.ucdavis.edu) has left this server (Ping timeout: 255 seconds).
84‎[19:36] --> CHCl3 (~CHCl3@static.23.4.0.81.ibercom.com) has joined this channel.
85‎[19:36] --> xcmw (~textual@host-129-137-24-5.vpn.uc.edu) has joined this channel.
86‎[19:36] ‎<‎Myrl-saki‎>‎ nshepperd_: Thanks.
87‎[19:38] <-- saurabhnanda (~saurabhna@42.106.72.81) has left this server (Remote host closed the connection).
88‎[19:38] --> zaquest (~notzaques@5.128.210.30) has joined this channel.
89‎[19:38] --> jp_rider (~Adium@2601:152:4103:4410:75bd:1d80:5742:f72d) has joined this channel.
90‎[19:38] <-- towerio (~towerio@137.139.199.6) has left this server (Ping timeout: 258 seconds).
91‎[19:39] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
92‎[19:40] --> conal_ (~conal@174.128.230.166) has joined this channel.
93‎[19:42] <-- jp_rider (~Adium@2601:152:4103:4410:75bd:1d80:5742:f72d) has left this server (Ping timeout: 255 seconds).
94‎[19:42] --> vlatkoB_ (~IRC_clien@unaffiliated/vlatkob) has joined this channel.
95‎[19:42] --> grizwako (~grizwako_@83-131-254-16.adsl.net.t-com.hr) has joined this channel.
96‎[19:43] --> bigos (~jacek@cpc103102-ward12-2-0-cust346.10-2.cable.virginm.net) has joined this channel.
97‎[19:43] <-- micro_ (~micro@178.79.128.27) has left this server (Quit: leaving).
98‎[19:44] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
99‎[19:44] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Remote host closed the connection).
100‎[19:44] ‎<‎_sras_‎>‎ Why can't stack build link to globally installed haskell pacakges?
101‎[19:44] --> Scip (~scip@76.121.6.102) has joined this channel.
102‎[19:45] <-- Xion_ (~kaon@199.201.66.0) has left this server (Ping timeout: 240 seconds).
103‎[19:45] ‎<‎onceuponatimeloo‎>‎ aweinstock: mnoonan should I continue with haskell then ?
104‎[19:46] <-- cjwelborn (cjwelborn@gateway/shell/firrre/x-sobklwcqgwdjhmkg) has left this server (Ping timeout: 255 seconds).
105‎[19:46] <-- vlatkoB (~IRC_clien@unaffiliated/vlatkob) has left this server (Ping timeout: 255 seconds).
106‎[19:47] <-- Neo (~neo@opennic/Neo) has left this server (Ping timeout: 255 seconds).
107‎[19:47] --> Neo (~neo@opennic/Neo) has joined this channel.
108‎[19:47] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
109‎[19:48] --> mohsen_1 (~Mohsen@130.255.223.54) has joined this channel.
110‎[19:48] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
111‎[19:49] <-- osa1 (~omer@haskell/developer/osa1) has left this server (Ping timeout: 255 seconds).
112‎[19:49] <-- conal_ (~conal@174.128.230.166) has left this server (Quit: Computer has gone to sleep.).
113‎[19:50] <-- mohsen_ (~Mohsen@37.59.248.21) has left this server (Ping timeout: 240 seconds).
114‎[19:50] ‎<‎_sras_‎>‎ When stack compiles an external package listed in the .cabal file, where does it place the generated .so file in? Where are the .so files for globally installed packages?
115‎[19:50] --> cjwelborn (cjwelborn@gateway/shell/firrre/x-dfsstcrgsijxhilc) has joined this channel.
116‎[19:50] --> conal_ (~conal@174.128.230.166) has joined this channel.
117‎[19:51] --> vuto (~vuto@42.116.160.153) has joined this channel.
118‎[19:53] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 260 seconds).
119‎[19:53] <-- Scip (~scip@76.121.6.102) has left this server (Ping timeout: 240 seconds).
120‎[19:54] ‎<‎aweinstock‎>‎ onceuponatimeloo: your choice, it depends on what your goals are
121‎[19:54] ‎<‎onceuponatimeloo‎>‎ aweinstock: my goals are to get a job in programming
122‎[19:54] <-- biglama (~Day_dream@ip-188.net-82-216-175.joinville2.rev.numericable.fr) has left this server (Ping timeout: 240 seconds).
123‎[19:54] --> codesoup (~codesoup@CPE00fc8de45853-CM00fc8de45850.cpe.net.cable.rogers.com) has joined this channel.
124‎[19:54] ‎<‎aweinstock‎>‎ some of Haskell's tradeoffs/design choices are easier to appreciate once you've known a variety of languages
125‎[19:54] ‎<‎onceuponatimeloo‎>‎ if possible top companies
126‎[19:55] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
127‎[19:55] --> Saizan (~saizan@li265-65.members.linode.com) has joined this channel.
128‎[19:55] <-- vuto (~vuto@42.116.160.153) has left this server (Ping timeout: 248 seconds).
129‎[19:55] --> poliquin__ (~poliquin@96-86-180-189-static.hfc.comcastbusiness.net) has joined this channel.
130‎[19:55] <-- petermw (~pw410@global-185-15.nat-2.net.cam.ac.uk) has left this server (Remote host closed the connection).
131‎[19:56] --> shloub (~shloub@2a01cb00008cdf00754146802ced3062.ipv6.abo.wanadoo.fr) has joined this channel.
132‎[19:56] --> rribeiro1 (~rribeiro@200.239.179.136) has joined this channel.
133‎[19:56] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
134‎[19:56] --> latro`a (~latro`a@pool-108-31-210-168.washdc.fios.verizon.net) has joined this channel.
135‎[19:56] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 264 seconds).
136‎[19:56] ‎* ‎hackagebot‎‎ dhall 1.7.0 – A configuration language guaranteed to terminate – https://hackage.haskell.org/package/dhall
137‎[19:57] --> DTZUZO (~DTZUZO@S0106bcd16584b0aa.vs.shawcable.net) has joined this channel.
138‎[19:57] --> befuddled (~befuddled@106.51.111.128) has joined this channel.
139‎[19:57] <-- befuddled (~befuddled@106.51.111.128) has left this server (Client Quit).
140‎[19:57] --> Swizec_ (~swizec@199.21.86.210) has joined this channel.
141‎[19:58] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
142‎[19:58] ‎<‎sm‎>‎ python and haskell are both good for learning
143‎[19:58] --> pfurla (~textual@38.86.167.91) has joined this channel.
144‎[19:58] ‎<‎shapr‎>‎ but Haskell is powerful magic
145‎[19:58] --> ertes (~ertes@haskell/developer/ertes) has joined this channel.
146‎[19:58] ‎<‎shapr‎>‎ python is ... well it's okay.
147‎[19:58] --> jp_rider (~Adium@2601:152:4103:4410:75bd:1d80:5742:f72d) has joined this channel.
148‎[19:58] --> lambda-11235 (~lambda-11@campus-096-246.ucdavis.edu) has joined this channel.
149‎[19:58] --> sid__ (a9958b08@gateway/web/freenode/ip.169.149.139.8) has joined this channel.
150‎[19:59] ‎<‎shapr‎>‎ I mean, I teach Python twice a week to my coworkers, and only once a week to anyone in Atlanta
151‎[19:59] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Client Quit).
152‎[19:59] <-- poliquin_ (~poliquin@96-86-180-189-static.hfc.comcastbusiness.net) has left this server (Ping timeout: 240 seconds).
153‎[19:59] ‎<‎aweinstock‎>‎ python's ok until you get to more than 100 lines or you end up wanting parallelism
154‎[19:59] --> poliquin_ (~poliquin@96-86-180-189-static.hfc.comcastbusiness.net) has joined this channel.
155‎[19:59] ‎<‎shapr‎>‎ I agree
156‎[20:00] <-- poliquin (~poliquin@96-86-180-189-static.hfc.comcastbusiness.net) has left this server (Ping timeout: 248 seconds).
157‎[20:00] ‎<‎shapr‎>‎ I recently had to fight some TCP fragment reassembly code in Python, I gave up after a month.
158‎[20:00] <-- Swizec (~swizec@199.21.86.210) has left this server (Ping timeout: 240 seconds).
159‎[20:00] <-- oisdk (~textual@51-171-255-121-dynamic.agg2.dyx.chf-qkr.eircom.net) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
160‎[20:00] <-- lambda-11235 (~lambda-11@campus-096-246.ucdavis.edu) has left this server (Client Quit).
161‎[20:01] ‎<‎maerwald‎>‎ python is nice for prototyping
162‎[20:01] ‎<‎maerwald‎>‎ if you use it for something else, then you are an odd person :>
163‎[20:01] ‎<‎shapr‎>‎ I usually prototype my Python code in Haskell
164‎[20:01] ‎<‎maerwald‎>‎ you are odd
165‎[20:02] ‎<‎shapr‎>‎ not even!
166‎[20:02] <-- roi_du_silence (~dragon@43-226-6-154.static.rise.as) has left this server (Ping timeout: 248 seconds).
167‎[20:02] <-- simka (~simka@188.146.43.247.nat.umts.dynamic.t-mobile.pl) has left this server (Remote host closed the connection).
168‎[20:03] ‎* ‎hackagebot‎‎ monad-persist 0.0.1.3 – An mtl-style typeclass and transformer for persistent. – https://hackage.haskell.org/package/monad-persist
169‎[20:03] --> ystael (~ystael@50-199-243-61-static.hfc.comcastbusiness.net) has joined this channel.
170‎[20:03] --> simka (~simka@188.146.43.247.nat.umts.dynamic.t-mobile.pl) has joined this channel.
171‎[20:03] <-- jp_rider (~Adium@2601:152:4103:4410:75bd:1d80:5742:f72d) has left this server (Ping timeout: 255 seconds).
172‎[20:04] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
173‎[20:04] ‎<‎onceuponatimeloo‎>‎ shapr: do you eventeach online?
174‎[20:05] ‎<‎shapr‎>‎ nah, I teach in person
175‎[20:05] <-- sid__ (a9958b08@gateway/web/freenode/ip.169.149.139.8) has left this channel.
176‎[20:05] <-- rribeiro1 (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
177‎[20:05] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
178‎[20:05] --> emilypi (~emilypi@65.246.174.100) has joined this channel.
179‎[20:07] --> `^_^v (~nycs@gw.hq.meetup.com) has joined this channel.
180‎[20:07] <-- mizu_no_oto (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has left this server (Quit: Computer has gone to sleep.).
181‎[20:07] --> AxelAlex (~AxelAlex@u-of-rochester-128-151-150-18.wireless.rochester.edu) has joined this channel.
182‎[20:07] --> motersen (~user@x55b158f6.dyn.telefonica.de) has joined this channel.
183‎[20:08] --> befuddled (~befuddled@106.51.111.128) has joined this channel.
184‎[20:08] --> oisdk (~textual@51-171-255-121-dynamic.agg2.dyx.chf-qkr.eircom.net) has joined this channel.
185‎[20:08] ‎* ‎hackagebot‎‎ monad-persist 0.0.1.4 – An mtl-style typeclass and transformer for persistent. – https://hackage.haskell.org/package/monad-persist
186‎[20:08] <-- conal_ (~conal@174.128.230.166) has left this server (Quit: Computer has gone to sleep.).
187‎[20:09] --> replay (~replay@pdpc/supporter/student/replay) has joined this channel.
188‎[20:09] --> raichoo (~raichoo@dslb-178-009-138-092.178.009.pools.vodafone-ip.de) has joined this channel.
189‎[20:09] ‎<‎onceuponatimeloo‎>‎ I have a algorithms course a mooc but it uses only psedo code, If I dont know any language and can learn algorithms with psedo code what are my chances of obtaining job ?
190‎[20:09] --> joomy (~joomy@129.133.190.254) has joined this channel.
191‎[20:09] --> zachk (~Zach@unaffiliated/zachk) has joined this channel.
192‎[20:10] ‎<‎lyxia‎>‎ low
193‎[20:10] --> connrs (~connrs@conners.plus.com) has joined this channel.
194‎[20:10] --> conal_ (~conal@174.128.230.166) has joined this channel.
195‎[20:10] <-- robotroll (~robotroll@unaffiliated/robotroll) has left this server (Read error: Connection reset by peer).
196‎[20:10] ‎<‎Ero2‎>‎ why does hackagebot occassionally talk about a package?
197‎[20:10] ‎<‎hydraz‎>‎ it announces updates, presumably
198‎[20:10] <-- mr_sm1th (~quassel@5ED4F634.cm-7-5d.dynamic.ziggo.nl) has left this server (Remote host closed the connection).
199‎[20:11] ‎<‎onceuponatimeloo‎>‎ lyxia: to me
200‎[20:11] --> mr_sm1th (~quassel@5ED4F634.cm-7-5d.dynamic.ziggo.nl) has joined this channel.
201‎[20:11] <-- conal_ (~conal@174.128.230.166) has left this server (Client Quit).
202‎[20:11] <-- oisdk (~textual@51-171-255-121-dynamic.agg2.dyx.chf-qkr.eircom.net) has left this server (Client Quit).
203‎[20:13] <-- mr_sm1th (~quassel@5ED4F634.cm-7-5d.dynamic.ziggo.nl) has left this server (Remote host closed the connection).
204‎[20:13] --> chirpsalot (~Chirps@unaffiliated/chirpsalot) has joined this channel.
205‎[20:13] --> Chobbes (~Chobbes@198-48-133-98.cpe.pppoe.ca) has joined this channel.
206‎[20:13] --> mr_sm1th (~quassel@5ED4F634.cm-7-5d.dynamic.ziggo.nl) has joined this channel.
207‎[20:13] <-- mr_sm1th (~quassel@5ED4F634.cm-7-5d.dynamic.ziggo.nl) has left this server (Remote host closed the connection).
208‎[20:14] --> mr_sm1th (~quassel@5ED4F634.cm-7-5d.dynamic.ziggo.nl) has joined this channel.
209‎[20:14] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
210‎[20:14] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
211‎[20:15] ‎<‎tdammers‎>‎ hackagebot used to announce all hackage uploads, but I believe it has been rate limited now
212‎[20:15] --> Gunni1 (~Gunni@89.238.178.75) has joined this channel.
213‎[20:15] <-- mr_sm1th (~quassel@5ED4F634.cm-7-5d.dynamic.ziggo.nl) has left this server (Remote host closed the connection).
214‎[20:15] --> jp_rider (~Adium@2601:152:4103:4410:75bd:1d80:5742:f72d) has joined this channel.
215‎[20:15] --> mr_sm1th (~quassel@5ED4F634.cm-7-5d.dynamic.ziggo.nl) has joined this channel.
216‎[20:15] <-- Chobbes (~Chobbes@198-48-133-98.cpe.pppoe.ca) has left this server (Client Quit).
217‎[20:16] <-- chirpsalot (~Chirps@unaffiliated/chirpsalot) has left this server (Client Quit).
218‎[20:16] --> chirpsalot (~Chirps@unaffiliated/chirpsalot) has joined this channel.
219‎[20:16] --> Chobbes (~Chobbes@198-48-133-98.cpe.pppoe.ca) has joined this channel.
220‎[20:17] ‎<‎lyxia‎>‎ when there are a lot at the same time it squashes them
221‎[20:17] --> conal_ (~conal@174.128.230.166) has joined this channel.
222‎[20:17] <-- besenwesen (~besenwese@unaffiliated/besenwesen) has left this server (Quit: ☠).
223‎[20:17] <-- ystael (~ystael@50-199-243-61-static.hfc.comcastbusiness.net) has left this server (Quit: Lost terminal).
224‎[20:17] ‎<‎sm‎>‎ yes, it was taken over and enhanced by (nick, anyone ?) and now does a better job of eliding large batch uploads
225‎[20:17] --> ystael (~ystael@50-199-243-61-static.hfc.comcastbusiness.net) has joined this channel.
226‎[20:17] ‎<‎sm‎>‎ but it does seem not to be active all the time
227‎[20:18] --> chaosmasttter (~chaosmast@p4FF1C9C5.dip0.t-ipconnect.de) has joined this channel.
228‎[20:20] <-- jp_rider (~Adium@2601:152:4103:4410:75bd:1d80:5742:f72d) has left this server (Ping timeout: 258 seconds).
229‎[20:20] <-- mohsen_1 (~Mohsen@130.255.223.54) has left this server (Quit: Leaving).
230‎[20:21] ‎<‎sm‎>‎ it's a https://github.com/lfairy/hircine bot now
231‎[20:21] --> besenwesen (~besenwese@unaffiliated/besenwesen) has joined this channel.
232‎[20:22] --> cpup (~cpup@32.218.119.15) has joined this channel.
233‎[20:22] <-- besenwesen (~besenwese@unaffiliated/besenwesen) has left this server (Client Quit).
234‎[20:22] <-- reactormonk (~tass@185.85.220.254) has left this server (Ping timeout: 240 seconds).
235‎[20:23] --> stef204 (~stef204@unaffiliated/stef-204/x-384198) has joined this channel.
236‎[20:23] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
237‎[20:23] <-- onceuponatimeloo (2bfea36c@gateway/web/freenode/ip.43.254.163.108) has left this channel.
238‎[20:23] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
239‎[20:23] <-- laz (~vl@0890794675.static.corbina.ru) has left this server (Ping timeout: 248 seconds).
240‎[20:24] --> besenwesen (~besenwese@unaffiliated/besenwesen) has joined this channel.
241‎[20:24] <-- geekosaur (allbery@dreamshell.ttuttle.net) has left this server (Ping timeout: 240 seconds).
242‎[20:24] <-- CoderPuppy (~cpup@32.218.118.196) has left this server (Ping timeout: 255 seconds).
243‎[20:25] --> eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
244‎[20:25] --> Yuras (~Yuras@93.84.18.57) has joined this channel.
245‎[20:26] <-- xcmw (~textual@host-129-137-24-5.vpn.uc.edu) has left this server (Ping timeout: 260 seconds).
246‎[20:28] ‎<‎maerwald‎>‎ wasn't there an experimantal MS language that started with 'k' something?
247‎[20:28] ‎<‎maerwald‎>‎ or 'c'?
248‎[20:28] ‎<‎maerwald‎>‎ :>
249‎[20:29] ‎<‎maerwald‎>‎ ah, it was Koka
250‎[20:29] <-- ekinmur (~textual@unaffiliated/ekinmur) has left this server (Quit: Textual IRC Client: www.textualapp.com).
251‎[20:31] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
252‎[20:32] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
253‎[20:32] --> ph88 (~ph88@87.214.234.33) has joined this channel.
254‎[20:32] --> micro (~micro@a9.lence.net) has joined this channel.
255‎[20:33] ‎* ‎hackagebot‎‎ dhall-json 1.0.7 – Compile Dhall to JSON or YAML – https://hackage.haskell.org/package/dhall-json
256‎[20:33] <-- pja (~pja@2a02:8010:6098:0:6af:be1f:1474:6f2a) has left this server (Quit: pja).
257‎[20:34] ‎<‎sm‎>‎ soo, how about that https://github.com/volhovM/orgstat#examples eh
258‎[20:37] --> zeroed (~zeroed@unaffiliated/zeroed) has joined this channel.
259‎[20:37] --> geekosaur (allbery@dreamshell.ttuttle.net) has joined this channel.
260‎[20:38] --> cdg (~cdg@157.166.173.4) has joined this channel.
261‎[20:38] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
262‎[20:39] <-- JeanCarloMachado (~jean@186.215.119.122) has left this server (Read error: Connection reset by peer).
263‎[20:39] --> JeanCarloMachado (~jean@186.215.119.122) has joined this channel.
264‎[20:40] <-- coot____________ (~coot@188.146.101.17.nat.umts.dynamic.t-mobile.pl) has left this server (Quit: coot____________).
265‎[20:40] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
266‎[20:40] ‎* ‎hackagebot‎‎ dhall-bash 1.0.5 – Compile Dhall to Bash – https://hackage.haskell.org/package/dhall-bash
267‎[20:41] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
268‎[20:41] <-- cdg_ (~cdg@157.166.173.4) has left this server (Ping timeout: 246 seconds).
269‎[20:41] <-- dsfox (~dsf@cpe-75-80-106-108.san.res.rr.com) has left this server (Read error: Connection reset by peer).
270‎[20:41] <-- befuddled (~befuddled@106.51.111.128) has left this server (Quit: Computer has gone to sleep.).
271‎[20:41] --> twanvl (~twanvl@92.110.121.28) has joined this channel.
272‎[20:42] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Client Quit).
273‎[20:42] <-- cdg (~cdg@157.166.173.4) has left this server (Ping timeout: 258 seconds).
274‎[20:42] <-- gehmehgeh (~ircuser1@gateway/tor-sasl/gehmehgeh) has left this server (Remote host closed the connection).
275‎[20:46] <-- whoisxy (~whoisxy@82.112.145.25) has left this server (Ping timeout: 258 seconds).
276‎[20:48] <-- johnw (~johnw@haskell/developer/johnw) has left this server (Ping timeout: 240 seconds).
277‎[20:49] --> CoderPuppy (~cpup@32.218.119.57) has joined this channel.
278‎[20:49] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
279‎[20:49] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
280‎[20:49] --> johnw (~johnw@haskell/developer/johnw) has joined this channel.
281‎[20:49] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
282‎[20:50] <-- eschnett (~eschnett@38.104.158.162) has left this server (Quit: eschnett).
283‎[20:51] --> eschnett (~eschnett@38.104.158.162) has joined this channel.
284‎[20:52] <-- FreeBirdLjj (~freebirdl@124.77.15.18) has left this server (Remote host closed the connection).
285‎[20:52] --> forgottenone (~forgotten@176.40.61.88) has joined this channel.
286‎[20:53] --> gehmehgeh (~ircuser1@gateway/tor-sasl/gehmehgeh) has joined this channel.
287‎[20:53] --> f278f1b2 (~f278f1b2@212.16.19.1) has joined this channel.
288‎[20:53] --> asdfoiawe (~quassel@200116b86296ae0031801bde9d49f0c8.dip.versatel-1u1.de) has joined this channel.
289‎[20:53] <-- cpup (~cpup@32.218.119.15) has left this server (Ping timeout: 255 seconds).
290‎[20:54] ‎* ‎hackagebot‎‎ dhall-text 1.0.3 – Template text using Dhall – https://hackage.haskell.org/package/dhall-text
291‎[20:55] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 255 seconds).
292‎[20:56] --> pwnz0r (~pwnz0r@c-24-5-158-134.hsd1.ca.comcast.net) has joined this channel.
293‎[20:56] <-- deba5e12 (~oblivia@213.152.161.101) has left this server (Ping timeout: 240 seconds).
294‎[20:57] --> sagax (~sagax_nb@213.138.71.146) has joined this channel.
295‎[20:57] <-- sigmundv (~sigmundv@178.167.176.80.threembb.ie) has left this server (Ping timeout: 260 seconds).
296‎[20:57] --> balor (~aidan@27.123.185.244) has joined this channel.
297‎[20:58] <-- pwnz0r (~pwnz0r@c-24-5-158-134.hsd1.ca.comcast.net) has left this server (Client Quit).
298‎[20:58] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
299‎[20:58] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
300‎[21:00] --> sigmundv (~sigmundv@178.167.176.80.threembb.ie) has joined this channel.
301‎[21:00] ‎<‎cocreature‎>‎ any ideas what could be causing “too many pending signals�
302‎[21:00] --> lambda-11235 (~lambda-11@campus-096-246.ucdavis.edu) has joined this channel.
303‎[21:00] --> deba5e12 (~oblivia@213.152.161.101) has joined this channel.
304‎[21:00] ‎<‎cocreature‎>‎ I first thought it might be unsafe FFI calls but after sed’ing them all to safe, I still have the same problem
305‎[21:01] --> John882 (~John882@185.140.114.52) has joined this channel.
306‎[21:01] ‎<‎monochrom‎>‎ Maybe something is blocking all signals?
307‎[21:01] ‎<‎monochrom‎>‎ Or maybe some signals.
308‎[21:01] ‎<‎cocreature‎>‎ right, my question was is there some standard Haskell construct that I might be using that blocks signals?
309‎[21:01] ‎<‎cocreature‎>‎ because I’m not deliberately blocking them :)
310‎[21:03] --> epsilonhalbe (~epsilonha@84-113-106-42.cable.dynamic.surfer.at) has joined this channel.
311‎[21:03] ‎<‎monochrom‎>‎ No I don't think there is one. I'm thinking of the C side. Some C function decides to block signals.
312‎[21:03] --> saftsuse (~saftsuse@46.101.207.203) has joined this channel.
313‎[21:04] <-- ranberry (~ranberry@4.35.2.66) has left this server (Ping timeout: 248 seconds).
314‎[21:04] ‎<‎cocreature‎>‎ hm okay
315‎[21:04] ‎<‎cocreature‎>‎ sadly LLVM is not exactly a minimal example making this quite painful to debug :/
316‎[21:05] <-- lambda-11235 (~lambda-11@campus-096-246.ucdavis.edu) has left this server (Ping timeout: 255 seconds).
317‎[21:06] <-- SpinTensor (~SpinTenso@i577A21B0.versanet.de) has left this server (Quit: WeeChat 1.9).
318‎[21:06] --> osa1 (~omer@haskell/developer/osa1) has joined this channel.
319‎[21:07] --> daoo[m] (daoomatrix@gateway/shell/matrix.org/x-xldikfhkcnsiibnr) has joined this channel.
320‎[21:07] --> rribeiro1 (~rribeiro@200.239.179.136) has joined this channel.
321‎[21:07] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
322‎[21:08] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
323‎[21:08] <-- chaosmasttter (~chaosmast@p4FF1C9C5.dip0.t-ipconnect.de) has left this server (Ping timeout: 240 seconds).
324‎[21:09] --> cschneid_ (~cschneid@c-71-196-161-201.hsd1.co.comcast.net) has joined this channel.
325‎[21:09] <-- conal_ (~conal@174.128.230.166) has left this server (Quit: Computer has gone to sleep.).
326‎[21:09] --> mmachenry (~Adium@208.78.142.234) has joined this channel.
327‎[21:09] <-- sigmundv (~sigmundv@178.167.176.80.threembb.ie) has left this server (Ping timeout: 248 seconds).
328‎[21:10] --> Itkovian (~Itkovian@178-117-76-63.access.telenet.be) has joined this channel.
329‎[21:11] --> sigmundv (~sigmundv@178.167.176.80.threembb.ie) has joined this channel.
330‎[21:11] --> ianandrich (~ianandric@c-73-223-61-224.hsd1.ca.comcast.net) has joined this channel.
331‎[21:12] <-- nickolay (~quassel@178.155.4.58) has left this server (Ping timeout: 248 seconds).
332‎[21:12] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 240 seconds).
333‎[21:13] --> zillolo (~alex@2001:4c50:49a:fa00:8ad7:f6ff:fe7f:8ae7) has joined this channel.
334‎[21:16] --> darlan (~darlan@inf58-187.inf.ufsc.br) has joined this channel.
335‎[21:16] <-- rribeiro1 (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
336‎[21:16] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
337‎[21:17] <-- darlan (~darlan@inf58-187.inf.ufsc.br) has left this server (Client Quit).
338‎[21:18] --> dfeuer (~dfeuer@wikimedia/Dfeuer) has joined this channel.
339‎[21:18] <-- inr (~a@c-94f9d854.025-102-73746f16.cust.bredbandsbolaget.se) has left this server (Quit: WeeChat 1.9.1).
340‎[21:19] --> inr (~a@c-94f9d854.025-102-73746f16.cust.bredbandsbolaget.se) has joined this channel.
341‎[21:20] --> ranberry (~ranberry@4.35.2.66) has joined this channel.
342‎[21:21] ‎<‎cocreature‎>‎ wtf, strace suggests that the signals are SIGSEGV
343‎[21:21] <-- grizwako (~grizwako_@83-131-254-16.adsl.net.t-com.hr) has left this server (Read error: Connection reset by peer).
344‎[21:21] ‎<‎cocreature‎>‎ I really shouldn’t be allowed to do FFI
345‎[21:21] <-- osa1 (~omer@haskell/developer/osa1) has left this server (Ping timeout: 248 seconds).
346‎[21:21] ‎<‎mnoonan‎>‎ a whole pile of segfaults backing up.. impressive :)
347‎[21:22] <-- acarrico (~acarrico@pppoe-68-142-58-22.gmavt.net) has left this server (Ping timeout: 260 seconds).
348‎[21:22] ‎<‎cocreature‎>‎ I’m not sure how that’s even possible, afaik I only have one thread and I’m not sure how a single thread can segfault multiple times …
349‎[21:23] <-- roconnor__ (~roconnor@host-192.252-163-58.dyn.295.ca) has left this server (Ping timeout: 240 seconds).
350‎[21:25] --> rribeiro1 (~rribeiro@200.239.179.136) has joined this channel.
351‎[21:25] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
352‎[21:26] <-- Ero2 (~user@bcddd268.skybroadband.com) has left this server (Ping timeout: 240 seconds).
353‎[21:27] <-- paraseba (paraseba@gateway/shell/elitebnc/x-utyjykyaqkojxppn) has left this server (Remote host closed the connection).
354‎[21:28] --> chaosmasttter (~chaosmast@p4FF1C9C5.dip0.t-ipconnect.de) has joined this channel.
355‎[21:29] ‎<‎orzo‎>‎ Is there a defined ThreadId value that is invalid?
356‎[21:29] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
357‎[21:30] --> hello (adf61116@gateway/web/freenode/ip.173.246.17.22) has joined this channel.
358‎[21:30] <-- balor (~aidan@27.123.185.244) has left this server (Read error: Connection reset by peer).
359‎[21:30] <-- toblorone (~toblorone@162.246.216.28) has left this server (Remote host closed the connection).
360‎[21:30] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Remote host closed the connection).
361‎[21:31] ‎<‎nicknight‎>‎ postponing to learn haskell due to the fear of security :(, anyway feeling proud I tried and learned something in a week
362‎[21:31] ‎<‎orzo‎>‎ How expensive is it to update a single field of a fairly large record?
363‎[21:31] ‎<‎mnoonan‎>‎ security?
364‎[21:31] ‎<‎nicknight‎>‎ Yuppp noy cyber secury financial sec*
365‎[21:31] --> cpup (~cpup@32.218.119.106) has joined this channel.
366‎[21:32] ‎<‎nicknight‎>‎ I see haskell is hard to implement
367‎[21:32] --> HaskellLord69 (~HaskellLo@gateway/vpn/privateinternetaccess/haskelllord69) has joined this channel.
368‎[21:32] <-- kolko (~kolko@ppp109-252-91-203.pppoe.spdop.ru) has left this server (Ping timeout: 248 seconds).
369‎[21:33] ‎<‎orzo‎>‎ i'd trust a haskell ap over a C one
370‎[21:33] <-- sleffy (~sleffy@c-24-7-67-0.hsd1.ca.comcast.net) has left this server (Ping timeout: 248 seconds).
371‎[21:33] --> erg (~erg@2001:4800:7814:0:2804:b05a:ff04:4ba7) has joined this channel.
372‎[21:33] ‎<‎orzo‎>‎ typically
373‎[21:33] ‎<‎nicknight‎>‎ ap ??
374‎[21:33] ‎<‎orzo‎>‎ program
375‎[21:33] ‎<‎orzo‎>‎ application
376‎[21:33] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 260 seconds).
377‎[21:34] --> SkyPatrol (~SkyPatrol@netacc-gpn-7-135-120.pool.telenor.hu) has joined this channel.
378‎[21:34] ‎<‎orzo‎>‎ what language do you consider more secure?
379‎[21:34] --> kolko (~kolko@ppp109-252-91-203.pppoe.spdop.ru) has joined this channel.
380‎[21:34] <-- CoderPuppy (~cpup@32.218.119.57) has left this server (Ping timeout: 258 seconds).
381‎[21:35] ‎<‎nicknight‎>‎ orzo: rght now python because all fucking emplaoyers look for only them these days when considered to atleast machinelearning...i see so many job adds
382‎[21:35] ‎<‎orzo‎>‎ hm, that's crazy to my thinking
383‎[21:35] ‎<‎nicknight‎>‎ why ?
384‎[21:35] ‎<‎nicknight‎>‎ whats crazy ?
385‎[21:36] ‎<‎orzo‎>‎ feeling more secure with python over haskell
386‎[21:36] ‎<‎orzo‎>‎ my bias would be opposite
387‎[21:36] ‎<‎nicknight‎>‎ orzo: I am taking talking about code
388‎[21:36] ‎<‎nicknight‎>‎ not*
389‎[21:37] <-- motersen (~user@x55b158f6.dyn.telefonica.de) has left this server (Quit: rcirc on GNU Emacs 25.3.1).
390‎[21:37] <-- hello (adf61116@gateway/web/freenode/ip.173.246.17.22) has left this server (Quit: qwebirc exception: Buffer overflow.).
391‎[21:37] ‎<‎orzo‎>‎ what else is there?
392‎[21:37] ‎<‎nicknight‎>‎ code haskell is more safe as I found but I am talking about reality/industry
393‎[21:37] <-- mda1 (~SkyPatrol@dsl51B6F885.fixip.t-online.hu) has left this server (Ping timeout: 260 seconds).
394‎[21:38] ‎<‎nicknight‎>‎ Any language will die if it is not productive[people dont use it]
395‎[21:38] ‎<‎zillolo‎>‎ nick is talking about job security I believe
396‎[21:38] ‎<‎orzo‎>‎ oh
397‎[21:38] ‎<‎orzo‎>‎ haskell is not going anywhere imo
398‎[21:38] --> xcmw (~textual@cpe-98-28-136-79.cinci.res.rr.com) has joined this channel.
399‎[21:39] ‎<‎nicknight‎>‎ zillolo: yeah
400‎[21:39] ‎<‎WarzoneCommand‎>‎ Is anyone here using stack on FreeBSD?
401‎[21:39] ‎<‎nicknight‎>‎ orzo: anywhere == forward or backward?
402‎[21:39] --> balor (~aidan@27.123.185.244) has joined this channel.
403‎[21:39] <-- Apocalisp (~textual@172.110.61.179) has left this server (Quit: Computer has gone to sleep.).
404‎[21:39] ‎<‎orzo‎>‎ anywhere = to the grave
405‎[21:40] ‎<‎orzo‎>‎ anytime soon
406‎[21:40] ‎<‎nicknight‎>‎ WHat is the use only if few smart people use it
407‎[21:40] ‎<‎[exa]‎>‎ WarzoneCommand: I attempted it successfully like 3 months ago, but don't have the installation handy
408‎[21:40] ‎<‎orzo‎>‎ a few years ago maybe i'd agree
409‎[21:40] ‎<‎[exa]‎>‎ nicknight: would you say the same about cobol?
410‎[21:41] ‎<‎WarzoneCommand‎>‎ the binary that it produces (of my project) crashes during runtime with an "Illegal instruction (core dumped)". From some quick googling that may have to do something with some different versions of llvm being available or so, but I don't fully understand what's happening there.
411‎[21:41] ‎<‎nicknight‎>‎ [exa]: cobol isnt dead ?
412‎[21:41] ‎<‎orzo‎>‎ but nowadays i can bring up haskell to a random programmer and they'll be familiar and have some thoughts on it
413‎[21:41] <-- JappleAck (~unclechu@64.120.50.125) has left this server (Ping timeout: 240 seconds).
414‎[21:41] ‎<‎[exa]‎>‎ nicknight: sadly not :D just wildly unpopular, just like haskell was few years ago
415‎[21:41] ‎<‎[exa]‎>‎ nicknight: haskell programmers are just beginning to get mainstream in fact
416‎[21:42] ‎<‎orzo‎>‎ yes, that's my impression
417‎[21:42] ‎<‎orzo‎>‎ we're going mainstream
418‎[21:42] --> zacharypch (~zak@96-86-10-125-static.hfc.comcastbusiness.net) has joined this channel.
419‎[21:42] --> nut (~user@ver78-1-82-240-30-39.fbx.proxad.net) has joined this channel.
420‎[21:43] --> Ero2 (~user@bcddd268.skybroadband.com) has joined this channel.
421‎[21:43] ‎<‎nicknight‎>‎ [exa]: Even I wanted to work on haskell but I can't risk/invest my time as I did for one week because at the end of the day all are not phd guys or well setteled programmers.....to people who are depended on jobs cant seriously go things like haskell...I checkes haskell 2 years back but till now I am the same
422‎[21:44] ‎<‎nicknight‎>‎ checked*
423‎[21:44] ‎<‎nut‎>‎ Anyone knows how to change file name with the Turtle script? for example, change file.mp4 to file.mp3 ?
424‎[21:45] ‎<‎[exa]‎>‎ nicknight: that sounds rough, don't you have like 30 minutes every other day to play with stuff?
425‎[21:46] ‎<‎[exa]‎>‎ btw I might be biased but I don't believe in investing time to learn something. you just keep a book+console around and it comes itself
426‎[21:46] <-- ilyaigpetrov (uid120452@gateway/web/irccloud.com/x-nskcvlwfolgryffo) has left this server (Quit: Connection closed for inactivity).
427‎[21:46] ‎<‎nicknight‎>‎ [exa]: yes, because I am already doing a fake job evethough I resigned I have to managethat job and also get new one in couple of months or my life will be hell...in fact I am spending 15hours learning Ml and 0.5/1 hr here at IRC to relax
428‎[21:47] <-- AxelAlex (~AxelAlex@u-of-rochester-128-151-150-18.wireless.rochester.edu) has left this server (Quit: AxelAlex).
429‎[21:47] ‎<‎nicknight‎>‎ 5*
430‎[21:47] --> toblorone (~toblorone@162.246.216.28) has joined this channel.
431‎[21:48] --> danthemy_ (~danthemyt@50-246-66-201-static.hfc.comcastbusiness.net) has joined this channel.
432‎[21:48] ‎<‎nicknight‎>‎ anyway its not even important I willbe back to haskell soon
433‎[21:48] --> whoisxy (~whoisxy@83.137.254.176) has joined this channel.
434‎[21:48] ‎* ‎[exa]‎‎ sends a virtual beer to augment minor relief
435‎[21:49] <-- bigos (~jacek@cpc103102-ward12-2-0-cust346.10-2.cable.virginm.net) has left this server (Quit: Leaving).
436‎[21:49] ‎<‎yushyin‎>‎ nut: https://hackage.haskell.org/package/turtle-1.4.4/docs/Turtle-Prelude.html#v:mv
437‎[21:50] --> phillip (~phillip@66-189-210-80.dhcp.elbg.wa.charter.com) has joined this channel.
438‎[21:50] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
439‎[21:50] <-- replay (~replay@pdpc/supporter/student/replay) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
440‎[21:51] --> fsvehla (~fsvehla@h081217224042.dyn.cm.kabsi.at) has joined this channel.
441‎[21:51] <-- danthemyth (~danthemyt@50-246-66-201-static.hfc.comcastbusiness.net) has left this server (Ping timeout: 260 seconds).
442‎[21:51] --> fwrs (~fwrs@178.120.20.76) has joined this channel.
443‎[21:53] ‎<‎nut‎>‎ yushyin:i'm suffering from reading that doc
444‎[21:53] <-- StoneToad (~StoneToad@ppp-199-167-119-213.storm.ca) has left this server (Ping timeout: 255 seconds).
445‎[21:53] ‎<‎nut‎>‎ not many example usage
446‎[21:54] --> JappleAck (~unclechu@188.17.19.5) has joined this channel.
447‎[21:55] --> StoneToad (~StoneToad@ppp-199-167-119-213.storm.ca) has joined this channel.
448‎[21:55] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 248 seconds).
449‎[21:58] ‎<‎orzo‎>‎ what's a good word for the inverse probability, so (1 - p) where p is the "bias" or "weight" ?
450‎[21:59] --> louispan (~textual@14-203-219-236.static.tpgi.com.au) has joined this channel.
451‎[21:59] ‎<‎shloub‎>‎ complement?
452‎[21:59] --> paraseba_ (paraseba@gateway/shell/elitebnc/x-ecewxgkpjgtietrn) has joined this channel.
453‎[21:59] --> cdg (~cdg@157.166.173.4) has joined this channel.
454‎[22:00] ‎<‎orzo‎>‎ i'm thinking "aversion" or "cost" but i'm unsatisfied
455‎[22:00] ‎<‎orzo‎>‎ don't care for "compliment" either
456‎[22:00] ‎<‎shloub‎>‎ antibias?
457‎[22:00] <-- rribeiro1 (~rribeiro@200.239.179.136) has left this server (Remote host closed the connection).
458‎[22:00] ‎<‎orzo‎>‎ i like that
459‎[22:01] --> KongWubba (~yaaic@a89-182-75-255.net-htp.de) has joined this channel.
460‎[22:01] <-- Ero2 (~user@bcddd268.skybroadband.com) has left this server (Read error: Connection reset by peer).
461‎[22:01] *** paraseba_ is now known as paraseba.
462‎[22:01] <-- ianandrich (~ianandric@c-73-223-61-224.hsd1.ca.comcast.net) has left this server (Ping timeout: 248 seconds).
463‎[22:01] --> mohsen_ (~Mohsen@130.255.223.54) has joined this channel.
464‎[22:02] --> cdg_ (~cdg@157.166.173.4) has joined this channel.
465‎[22:02] --> tobiasBora2 (~leo@bornebora.crans.org) has joined this channel.
466‎[22:02] ‎<‎tobiasBora2‎>‎ Hello,
467‎[22:03] ‎<‎tobiasBora2‎>‎ I'd like to know, is it possible to map an array into a list like that
468‎[22:03] ‎<‎tobiasBora2‎>‎ (a -> b) -> Array a -> [b]
469‎[22:04] <-- fwrs (~fwrs@178.120.20.76) has left this server (Quit: fwrs).
470‎[22:05] --> serendependy (~christoph@2620:0:e50:1401:254c:5ecc:605:98c0) has joined this channel.
471‎[22:05] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
472‎[22:05] <-- cdg (~cdg@157.166.173.4) has left this server (Ping timeout: 240 seconds).
473‎[22:05] <-- ranberry (~ranberry@4.35.2.66) has left this server (Ping timeout: 255 seconds).
474‎[22:06] <-- Youmu (uid129469@gateway/web/irccloud.com/x-nmheboxkfztrrrvz) has left this server (Quit: Connection closed for inactivity).
475‎[22:07] ‎<‎[exa]‎>‎ :t \f -> foldr ((:).f) []
476‎[22:07] ‎<‎lambdabot‎>‎ Foldable t => (a1 -> a2) -> t a1 -> [a2]
477‎[22:07] <-- HarveyPwca (~HarveyPwc@ip-64-134-38-145.public.wayport.net) has left this server (Quit: The Pwca has left the building).
478‎[22:07] ‎<‎[exa]‎>‎ tobiasBora2: this ^^ should be applicable on Array (which is Foldable)
479‎[22:07] <-- schoppenhauer (~schoppenh@unaffiliated/schoppenhauer) has left this server (Ping timeout: 255 seconds).
480‎[22:08] <-- `Guest00000 (~user@37.113.156.86) has left this server (Ping timeout: 240 seconds).
481‎[22:08] <-- epsilonhalbe (~epsilonha@84-113-106-42.cable.dynamic.surfer.at) has left this channel.
482‎[22:08] --> xkapastel (uid17782@gateway/web/irccloud.com/x-hfscndnmzuvctpwg) has joined this channel.
483‎[22:08] <-- valentinbuza (~valentinb@unaffiliated/valentinbuza) has left this server (Ping timeout: 255 seconds).
484‎[22:08] --> nh2[m] (nh2matrixo@gateway/shell/matrix.org/x-mxfonlnjlrsxrzab) has joined this channel.
485‎[22:08] <-- mohsen_ (~Mohsen@130.255.223.54) has left this server (Quit: Leaving).
486‎[22:08] --> rribeiro1 (~rribeiro@200.239.179.136) has joined this channel.
487‎[22:09] <-- rribeiro1 (~rribeiro@200.239.179.136) has left this server (Remote host closed the connection).
488‎[22:09] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
489‎[22:09] <-- qzo (~qzo@c-73-153-152-215.hsd1.co.comcast.net) has left this server (Ping timeout: 246 seconds).
490‎[22:09] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
491‎[22:09] --> schoppenhauer (~schoppenh@unaffiliated/schoppenhauer) has joined this channel.
492‎[22:11] --> rribeiro1 (~rribeiro@200.239.179.136) has joined this channel.
493‎[22:11] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
494‎[22:11] ‎<‎dmwit‎>‎ :t \f -> Data.Array.elems . fmap f
495‎[22:11] ‎<‎lambdabot‎>‎ (a -> e) -> Array i a -> [e]
496‎[22:12] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
497‎[22:12] ‎<‎yushyin‎>‎ nut: I’m not familiar with the turtle library but nevertheless here an example https://paste.xinu.at/5TQ/
498‎[22:13] <-- eschnett (~eschnett@38.104.158.162) has left this server (Quit: eschnett).
499‎[22:13] --> ianandrich (~ianandric@c-73-223-61-224.hsd1.ca.comcast.net) has joined this channel.
500‎[22:13] --> coot____________ (~coot@188.146.98.29.nat.umts.dynamic.t-mobile.pl) has joined this channel.
501‎[22:13] ‎<‎tobiasBora2‎>‎ [exa]: dmwit ok thanks ! Is there any interest to use one or the other ?
502‎[22:14] --> `Guest00000 (~user@37.113.156.86) has joined this channel.
503‎[22:14] <-- slomo (~slomo@unaffiliated/slomo) has left this server (Read error: Connection reset by peer).
504‎[22:15] --> mivael_ (~mivael@80.70.77.145) has joined this channel.
505‎[22:16] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 258 seconds).
506‎[22:17] ‎<‎[exa]‎>‎ tobiasBora2: depends on whether you mind array-specificity and on exact behavior of Array's Functor instance which I can't find now, but I guess actual difference will be minor
507‎[22:17] ‎<‎tobiasBora2‎>‎ ok thanks [exa]
508‎[22:18] --> jeltsch (~wolfgang@85.253.254.16.cable.starman.ee) has joined this channel.
509‎[22:19] <-- JappleAck (~unclechu@188.17.19.5) has left this server (Ping timeout: 240 seconds).
510‎[22:19] --> shanemikel (~textual@eduroam-169-233-224-126.ucsc.edu) has joined this channel.
511‎[22:19] <-- rribeiro1 (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
512‎[22:20] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
513‎[22:20] <-- zillolo (~alex@2001:4c50:49a:fa00:8ad7:f6ff:fe7f:8ae7) has left this server (Quit: WeeChat 1.9.1).
514‎[22:22] --> XorSwap (~XorSwap@wpa-3-892.cc.umanitoba.ca) has joined this channel.
515‎[22:22] <-- forgottenone (~forgotten@176.40.61.88) has left this server (Quit: Konversation terminated!).
516‎[22:22] --> sleffy (~sleffy@c-24-7-67-0.hsd1.ca.comcast.net) has joined this channel.
517‎[22:23] <-- gawen (~gawen@movzbl.root.sx) has left this server (Remote host closed the connection).
518‎[22:23] <-- StoneToad (~StoneToad@ppp-199-167-119-213.storm.ca) has left this server (Ping timeout: 248 seconds).
519‎[22:23] --> gawen (~gawen@movzbl.root.sx) has joined this channel.
520‎[22:24] --> CoderPuppy (~cpup@32.218.119.211) has joined this channel.
521‎[22:24] <-- whoisxy (~whoisxy@83.137.254.176) has left this server (Ping timeout: 255 seconds).
522‎[22:24] --> acarrico (~acarrico@pool-71-169-133-224.burl.east.myfairpoint.net) has joined this channel.
523‎[22:26] --> StoneToad (~StoneToad@ppp-199-167-119-213.storm.ca) has joined this channel.
524‎[22:26] --> conal_ (~conal@174.128.230.166) has joined this channel.
525‎[22:26] --> forker (~forker@host-87-255-31-189.bigtelecom.ru) has joined this channel.
526‎[22:27] <-- cpup (~cpup@32.218.119.106) has left this server (Ping timeout: 255 seconds).
527‎[22:28] --> floe-catfish (~paul@178.162.222.163.adsl.inet-telecom.org) has joined this channel.
528‎[22:28] <-- vlatkoB_ (~IRC_clien@unaffiliated/vlatkob) has left this server (Remote host closed the connection).
529‎[22:29] <-- Psybur (~broheim@static-70-109-53-144.clppva.fios.verizon.net) has left this server (Ping timeout: 240 seconds).
530‎[22:29] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Remote host closed the connection).
531‎[22:30] <-- coot____________ (~coot@188.146.98.29.nat.umts.dynamic.t-mobile.pl) has left this server (Quit: coot____________).
532‎[22:31] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
533‎[22:31] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
534‎[22:31] <-- conal_ (~conal@174.128.230.166) has left this server (Quit: Computer has gone to sleep.).
535‎[22:32] --> Sampuka (~Sampuka@x1-6-24-7f-20-00-22-92.cpe.webspeed.dk) has joined this channel.
536‎[22:32] --> JappleAck (~unclechu@64.120.50.125) has joined this channel.
537‎[22:33] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
538‎[22:34] <-- wonko7 (~wonko7@2a01:e34:ec14:5250:64cb:db6f:26c1:cade) has left this server (Quit: See You Space Cowboy..).
539‎[22:35] <-- deba5e12 (~oblivia@213.152.161.101) has left this server (Ping timeout: 246 seconds).
540‎[22:35] --> wonko7 (~wonko7@2a01:e34:ec14:5250:88b6:6e78:44f8:14d9) has joined this channel.
541‎[22:36] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Ping timeout: 260 seconds).
542‎[22:36] --> replay (~replay@pdpc/supporter/student/replay) has joined this channel.
543‎[22:36] <-- forker (~forker@host-87-255-31-189.bigtelecom.ru) has left this server (Quit: Leaving.).
544‎[22:36] --> coot____________ (~coot@188.146.98.29.nat.umts.dynamic.t-mobile.pl) has joined this channel.
545‎[22:37] --> forker (~forker@host-87-255-31-189.bigtelecom.ru) has joined this channel.
546‎[22:37] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 255 seconds).
547‎[22:37] --> eschnett (~eschnett@38.104.158.162) has joined this channel.
548‎[22:38] <-- acarrico (~acarrico@pool-71-169-133-224.burl.east.myfairpoint.net) has left this server (Ping timeout: 240 seconds).
549‎[22:38] --> deba5e12 (~oblivia@213.152.161.101) has joined this channel.
550‎[22:39] <-- pfurla (~textual@38.86.167.91) has left this server (Quit: My MacBook Pro has gone to sleep. ZZZzzz…).
551‎[22:41] <-- sigmundv (~sigmundv@178.167.176.80.threembb.ie) has left this server (Ping timeout: 258 seconds).
552‎[22:42] --> pfurla (~textual@38.86.167.91) has joined this channel.
553‎[22:42] <-- dsh (~daishi@209.222.19.251.adsl.inet-telecom.org) has left this server (Read error: Connection reset by peer).
554‎[22:42] --> Thra11 (~Thra11@37.58.58.232) has joined this channel.
555‎[22:43] <-- eschnett (~eschnett@38.104.158.162) has left this server (Quit: eschnett).
556‎[22:43] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Remote host closed the connection).
557‎[22:44] <-- danvet (~Daniel@2a02:168:5635:0:39d2:f87e:2033:9f6) has left this server (Ping timeout: 255 seconds).
558‎[22:44] <-- risz (~risto@dsl-trebng22-58c1ab-208.dhcp.inet.fi) has left this server (Remote host closed the connection).
559‎[22:45] --> eschnett (~eschnett@38.104.158.162) has joined this channel.
560‎[22:45] --> acarrico (~acarrico@pool-71-169-133-224.burl.east.myfairpoint.net) has joined this channel.
561‎[22:46] --> royal_screwup21 (89de72f2@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.242) has joined this channel.
562‎[22:46] <-- ianandrich (~ianandric@c-73-223-61-224.hsd1.ca.comcast.net) has left this server (Ping timeout: 255 seconds).
563‎[22:46] <-- shanemikel (~textual@eduroam-169-233-224-126.ucsc.edu) has left this server (Quit: My MacBook Air has gone to sleep. ZZZzzz…).
564‎[22:47] <-- mivael_ (~mivael@80.70.77.145) has left this server (Ping timeout: 255 seconds).
565‎[22:47] --> fishythefish (~fishythef@2620:10d:c090:200::7:d73b) has joined this channel.
566‎[22:47] ‎<‎balor‎>‎ I've been browsing http://git.haskell.org/ghc.git to find tests for modules in Prelude (I like to read test code to see idiomatic use of a function). It appears that there is no requirement to write a unit test for a given module in Prelude i.e. not all modules (very few in fact) have associated unit tests. Am I looking in the wrong place? Or is it the case that there is no policy for unit testing modules?
567‎[22:49] <-- eschnett (~eschnett@38.104.158.162) has left this server (Ping timeout: 240 seconds).
568‎[22:50] --> heebo (~user@162.250.2.93) has joined this channel.
569‎[22:50] --> eschnett (~eschnett@38.104.158.162) has joined this channel.
570‎[22:50] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
571‎[22:51] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
572‎[22:51] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Remote host closed the connection).
573‎[22:51] ‎<‎orzo‎>‎ there should be a contramap-based deriving mechanism. So you specify a function that converts to a type and it shares the instance for that type with your new type
574‎[22:51] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
575‎[22:52] <-- XorSwap (~XorSwap@wpa-3-892.cc.umanitoba.ca) has left this server (Quit: Leaving).
576‎[22:54] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
577‎[22:54] <-- mr_sm1th (~quassel@5ED4F634.cm-7-5d.dynamic.ziggo.nl) has left this server (Remote host closed the connection).
578‎[22:54] --> rribeiro1 (~rribeiro@200.239.179.136) has joined this channel.
579‎[22:54] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Read error: Connection reset by peer).
580‎[22:55] <-- eschnett (~eschnett@38.104.158.162) has left this server (Quit: eschnett).
581‎[22:55] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 255 seconds).
582‎[22:57] <-- `^_^v (~nycs@gw.hq.meetup.com) has left this server (Quit: This computer has gone to sleep).
583‎[22:58] *** bcoppens_ is now known as bcoppens.
584‎[22:59] <-- chaosmasttter (~chaosmast@p4FF1C9C5.dip0.t-ipconnect.de) has left this server (Quit: WeeChat 1.9).
585‎[22:59] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 255 seconds).
586‎[22:59] <-- rribeiro1 (~rribeiro@200.239.179.136) has left this server (Remote host closed the connection).
587‎[23:00] <-- Gunni1 (~Gunni@89.238.178.75) has left this server.
588‎[23:00] <-- louispan (~textual@14-203-219-236.static.tpgi.com.au) has left this server (Quit: louispan).
589‎[23:02] ‎<‎royal_screwup21‎>‎ is there a built-n function to extract boxes out of a matrix? For example, if I have a 9 x 9 matrix, I want 3 x3 "boxes" out of it, just like in a sudoku puzzles
590‎[23:02] ‎<‎royal_screwup21‎>‎ built in*
591‎[23:02] --> shanemikel (~textual@eduroam-169-233-224-126.ucsc.edu) has joined this channel.
592‎[23:03] <-- zacharypch (~zak@96-86-10-125-static.hfc.comcastbusiness.net) has left this channel ("Leaving").
593‎[23:04] --> epsilonhalbe (~epsilonha@84-113-106-42.cable.dynamic.surfer.at) has joined this channel.
594‎[23:05] <-- xcmw (~textual@cpe-98-28-136-79.cinci.res.rr.com) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
595‎[23:05] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
596‎[23:05] <-- hackebeilchen (~Peter@171-057-210-188.ip-addr.inexio.net) has left this server (Read error: Connection reset by peer).
597‎[23:06] <-- John882 (~John882@185.140.114.52) has left this server (Quit: John882).
598‎[23:06] --> John882 (~John882@185.140.114.52) has joined this channel.
599‎[23:07] ‎<‎Hafydd‎>‎ royal_screwup21: what is the type of your "matrix"?
600‎[23:07] ‎<‎royal_screwup21‎>‎ just a list of lists
601‎[23:07] ‎<‎Hafydd‎>‎ royal_screwup21: there isn't a built-in function just for that, but you can do it with take, drop, and fmap.
602‎[23:08] ‎<‎Hafydd‎>‎ The middle submatrix would be "fmap (take 3 . drop 3) . take 3 . drop 3".
603‎[23:08] <-- heebo (~user@162.250.2.93) has left this server (Ping timeout: 240 seconds).
604‎[23:09] ‎<‎Hafydd‎>‎ ...or just "map" instead of "fmap".
605‎[23:09] --> cpup (~cpup@32.218.112.36) has joined this channel.
606‎[23:09] ‎<‎royal_screwup21‎>‎ hmm
607‎[23:09] <-- phillip (~phillip@66-189-210-80.dhcp.elbg.wa.charter.com) has left this server (Remote host closed the connection).
608‎[23:10] --> phillip (~phillip@66-189-210-80.dhcp.elbg.wa.charter.com) has joined this channel.
609‎[23:10] <-- John882 (~John882@185.140.114.52) has left this server (Client Quit).
610‎[23:11] <-- phillip (~phillip@66-189-210-80.dhcp.elbg.wa.charter.com) has left this server (Remote host closed the connection).
611‎[23:11] <-- CoderPuppy (~cpup@32.218.119.211) has left this server (Ping timeout: 240 seconds).
612‎[23:11] <-- epsilonhalbe (~epsilonha@84-113-106-42.cable.dynamic.surfer.at) has left this channel.
613‎[23:12] --> zero_byte (~zer0@ip-89-103-110-138.net.upcbroadband.cz) has joined this channel.
614‎[23:13] --> phillip (~phillip@66-189-210-80.dhcp.elbg.wa.charter.com) has joined this channel.
615‎[23:13] --> John882 (~John882@185.140.114.52) has joined this channel.
616‎[23:14] --> neoncontrails (~neoncontr@2001:579:e09c:101:f8ce:cb5d:ee6c:1d5e) has joined this channel.
617‎[23:15] <-- joomy (~joomy@129.133.190.254) has left this server (Quit: joomy).
618‎[23:15] ‎<‎royal_screwup21‎>‎ Hafydd: how'd you approach the problem
619‎[23:15] --> `^_^v (~nycs@gw.hq.meetup.com) has joined this channel.
620‎[23:15] ‎<‎royal_screwup21‎>‎ I'm having a hard time figuring this out
621‎[23:15] --> johanna1 (~johanna@185.103.96.135) has joined this channel.
622‎[23:15] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
623‎[23:16] <-- simukis (~simukis_@78-60-58-6.static.zebra.lt) has left this server (Ping timeout: 260 seconds).
624‎[23:16] <-- fsvehla (~fsvehla@h081217224042.dyn.cm.kabsi.at) has left this server (Quit: fsvehla).
625‎[23:16] <-- crosleyt (~troy@209-217-208-226.northland.net) has left this server (Ping timeout: 248 seconds).
626‎[23:16] --> Deide (~Deide@94.5.85.133) has joined this channel.
627‎[23:17] <-- raichoo (~raichoo@dslb-178-009-138-092.178.009.pools.vodafone-ip.de) has left this server (Remote host closed the connection).
628‎[23:18] --> Philonous (~Philonous@unaffiliated/philonous) has joined this channel.
629‎[23:19] --> BlueRavenGT (~BlueRaven@8-22-14-133.utopiafiber.net) has joined this channel.
630‎[23:19] <-- xenon- (~bc81387d@h27.47.138.40.static.ip.windstream.net) has left this server (Quit: CGI:IRC (Session timeout)).
631‎[23:20] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 255 seconds).
632‎[23:20] <-- phillip (~phillip@66-189-210-80.dhcp.elbg.wa.charter.com) has left this server (Quit: phillip).
633‎[23:20] <-- acarrico (~acarrico@pool-71-169-133-224.burl.east.myfairpoint.net) has left this server (Ping timeout: 240 seconds).
634‎[23:22] <-- pygospa (~Pygosceli@31.17.253.218) has left this server (Ping timeout: 255 seconds).
635‎[23:23] <-- nemesit|znc (~nemesit@lvps46-163-78-235.dedicated.hosteurope.de) has left this server (Ping timeout: 240 seconds).
636‎[23:23] --> teurastaja (~teurastaj@modemcable041.142-81-70.mc.videotron.ca) has joined this channel.
637‎[23:23] <-- `^_^v (~nycs@gw.hq.meetup.com) has left this server (Quit: This computer has gone to sleep).
638‎[23:24] --> pygospa (~Pygosceli@ip1f11fdda.dynamic.kabel-deutschland.de) has joined this channel.
639‎[23:24] --> louispan (~textual@14-203-219-236.static.tpgi.com.au) has joined this channel.
640‎[23:24] ‎<‎Logio‎>‎ royal_screwup21: are you building a sudoku puzzle, or something else?
641‎[23:25] --> toby_ (~toby@88-110-104-87.dynamic.dsl.as9105.com) has joined this channel.
642‎[23:25] <-- toby_ (~toby@88-110-104-87.dynamic.dsl.as9105.com) has left this server (Remote host closed the connection).
643‎[23:25] <-- floe-catfish (~paul@178.162.222.163.adsl.inet-telecom.org) has left this server (Ping timeout: 248 seconds).
644‎[23:25] ‎<‎royal_screwup21‎>‎ a sudoku puzzle
645‎[23:25] <-- emilypi (~emilypi@65.246.174.100) has left this server (Ping timeout: 240 seconds).
646‎[23:25] --> Psybur (~broheim@pool-108-44-203-65.clppva.fios.verizon.net) has joined this channel.
647‎[23:26] ‎<‎Logio‎>‎ it might be easier to just use a single list, and build suitable indexing functions for it
648‎[23:26] ‎<‎Hafydd‎>‎ royal_screwup21: what is it that you want to do, exactly?
649‎[23:26] --> xcmw (~textual@cpe-98-28-136-79.cinci.res.rr.com) has joined this channel.
650‎[23:27] ‎<‎Hafydd‎>‎ For example, do you want to extract a single submatrix, or do you want a list of all submatrices?
651‎[23:27] ‎<‎Logio‎>‎ if you don't want to get into any more complicated data types, that is
652‎[23:27] ‎<‎royal_screwup21‎>‎ all submatrices
653‎[23:27] ‎<‎Logio‎>‎ royal_screwup21: all possible submatrices, or adjacent blocks?
654‎[23:27] ‎<‎royal_screwup21‎>‎ hmm for that I might have to refactor most of my code, but that seems interesting, using indexing functions
655‎[23:28] <-- peterbecich (~peterbeci@47.37.164.78) has left this server (Ping timeout: 260 seconds).
656‎[23:28] --> emilypi (~emilypi@65.246.174.100) has joined this channel.
657‎[23:29] ‎<‎royal_screwup21‎>‎ sorry yeah that's an important distinction. I need adjacent blocks
658‎[23:30] ‎<‎Tuplanolla‎>‎ How about a `Map (a, a) a`, royal_screwup21?
659‎[23:32] ‎<‎Hafydd‎>‎ royal_screwup21: http://lpaste.net/359123
660‎[23:32] ‎<‎Hafydd‎>‎ royal_screwup21: this is a more efficient version that uses splitAt, but that's equivalent to using take and rop.
661‎[23:32] ‎<‎Hafydd‎>‎ *dro
662‎[23:32] ‎<‎Hafydd‎>‎ ...*drop
663‎[23:32] ‎<‎Hafydd‎>‎ > drop 1 "drop"
664‎[23:32] ‎<‎lambdabot‎>‎ "rop"
665‎[23:33] <-- Deide (~Deide@94.5.85.133) has left this server (Quit: Seeee yaaaa).
666‎[23:33] ‎<‎Tuplanolla‎>‎ You could select the subregion at `x` with `filterWithKey (\ y _ -> dist x y <= 1)`.
667‎[23:35] ‎<‎Tuplanolla‎>‎ There the metric `dist` would determine the shape and size.
668‎[23:35] --> peterbecich (~peterbeci@47.37.164.78) has joined this channel.
669‎[23:35] <-- emilypi (~emilypi@65.246.174.100) has left this server (Ping timeout: 240 seconds).
670‎[23:35] ‎<‎royal_screwup21‎>‎ Hafydd: are you a genius
671‎[23:36] ‎<‎Hafydd‎>‎ royal_screwup21: I hope one doesn't have to be a genius to write or understand that code.
672‎[23:36] <-- KongWubba (~yaaic@a89-182-75-255.net-htp.de) has left this server (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org).
673‎[23:36] ‎<‎royal_screwup21‎>‎ lol nice backhanded compliment
674‎[23:36] ‎<‎Hafydd‎>‎ royal_screwup21: is it clear how it works?
675‎[23:37] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
676‎[23:37] ‎<‎royal_screwup21‎>‎ yeah I might have to write it out and visualize it first
677‎[23:37] ‎<‎royal_screwup21‎>‎ but thanks!
678‎[23:37] ‎<‎Hafydd‎>‎ Very well.
679‎[23:37] --> athan_ (~athan@184-96-104-23.hlrn.qwest.net) has joined this channel.
680‎[23:38] <-- royal_screwup21 (89de72f2@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.242) has left this channel.
681‎[23:38] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Remote host closed the connection).
682‎[23:38] <-- deba5e12 (~oblivia@213.152.161.101) has left this server (Ping timeout: 240 seconds).
683‎[23:40] <-- takuan (~takuan@178-116-228-162.access.telenet.be) has left this server (Remote host closed the connection).
684‎[23:41] <-- dbmikus (~dbmikus@cpe-66-108-224-204.nyc.res.rr.com) has left this server (Quit: WeeChat 1.9.1).
685‎[23:41] --> deba5e12 (~oblivia@213.152.161.25) has joined this channel.
686‎[23:41] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 240 seconds).
687‎[23:43] <-- JappleAck (~unclechu@64.120.50.125) has left this server (Read error: Connection reset by peer).
688‎[23:44] <-- locallycompact (~lc@167.98.27.226) has left this server (Ping timeout: 255 seconds).
689‎[23:45] --> fragamus (~textual@2602:306:3a1a:87a0:6192:9dbb:6017:e598) has joined this channel.
690‎[23:45] <-- Sampuka (~Sampuka@x1-6-24-7f-20-00-22-92.cpe.webspeed.dk) has left this server (Ping timeout: 248 seconds).
691‎[23:45] --> dbmikus (~dbmikus@cpe-66-108-224-204.nyc.res.rr.com) has joined this channel.
692‎[23:45] <-- louispan (~textual@14-203-219-236.static.tpgi.com.au) has left this server (Quit: louispan).
693‎[23:45] --> CoderPuppy (~cpup@32.218.112.70) has joined this channel.
694‎[23:46] <-- dbmikus (~dbmikus@cpe-66-108-224-204.nyc.res.rr.com) has left this server (Client Quit).
695‎[23:47] <-- simka (~simka@188.146.43.247.nat.umts.dynamic.t-mobile.pl) has left this server (Ping timeout: 264 seconds).
696‎[23:47] <-- forker (~forker@host-87-255-31-189.bigtelecom.ru) has left this server (Quit: Leaving.).
697‎[23:48] <-- cpup (~cpup@32.218.112.36) has left this server (Ping timeout: 240 seconds).
698‎[23:48] <-- danthemy_ (~danthemyt@50-246-66-201-static.hfc.comcastbusiness.net) has left this server (Remote host closed the connection).
699‎[23:49] ‎<‎hexagoxel‎>‎ what is rationale behind the convention of putting the in-package imports last?
700‎[23:50] <-- hiratara (~hiratara@240f:7:4708:1:2904:7c8d:5e4f:77b4) has left this server (Ping timeout: 258 seconds).
701‎[23:50] ‎* ‎hackagebot‎‎ uuid-crypto 1.2.0.0 – Reversable and secure encoding of object ids as uuids – https://hackage.haskell.org/package/uuid-crypto
702‎[23:50] --> chao-tic (~chao@218.101.54.122) has joined this channel.
703‎[23:51] --> djapo (~archie@unaffiliated/djapo) has joined this channel.
704‎[23:52] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
705‎[23:53] --> hiratara (~hiratara@240f:7:4708:1:b928:db58:2b78:aec2) has joined this channel.
706‎[23:54] ‎<‎Cale‎>‎ hexagoxel: Well, sometimes they're the only thing you care about, so it's nice for them to be separate.
707‎[23:54] <-- alex`` (~alex@2a01cb000bb310000e31f98b4cdf4eae.ipv6.abo.wanadoo.fr) has left this server (Ping timeout: 240 seconds).
708‎[23:54] ‎<‎Cale‎>‎ hexagoxel: First or last doesn't particularly matter
709‎[23:54] ‎<‎geekosaur‎>‎ also it supports use of project templates
710‎[23:54] ‎<‎geekosaur‎>‎ and global templates
711‎[23:54] <-- desperek (~draco@unaffiliated/desperek) has left this server (Quit: xoxo).
712‎[23:56] <-- plutoniix (~q@node-ctu.pool-1-10.dynamic.totbb.net) has left this server (Quit: Leaving).
713‎[23:56] <-- shanemikel (~textual@eduroam-169-233-224-126.ucsc.edu) has left this server (Quit: My MacBook Air has gone to sleep. ZZZzzz…).
714‎[23:56] <-- mmachenry (~Adium@208.78.142.234) has left this server (Quit: Leaving.).
715‎[23:57] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 240 seconds).
716‎[23:57] --> castlelore (~castlelor@unaffiliated/castlelore) has joined this channel.
717‎[23:57] <-- teurastaja (~teurastaj@modemcable041.142-81-70.mc.videotron.ca) has left this server (Ping timeout: 258 seconds).
718‎[23:58] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
719‎[23:58] <-- mson (uid110608@gateway/web/irccloud.com/x-rouoowguyvpcnidw) has left this server (Quit: Connection closed for inactivity).
720‎[00:00] <-- Itkovian (~Itkovian@178-117-76-63.access.telenet.be) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
721‎[00:01] --> sfcg (~sfcg@79.97.176.188) has joined this channel.
722‎[00:01] --> shanemikel (~textual@eduroam-169-233-194-87.ucsc.edu) has joined this channel.
723‎[00:03] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 260 seconds).
724‎[00:03] <-- StoneToad (~StoneToad@ppp-199-167-119-213.storm.ca) has left this server (Ping timeout: 240 seconds).
725‎[00:03] --> louispan (~textual@14-203-219-236.static.tpgi.com.au) has joined this channel.
726‎[00:03] <-- Thra11 (~Thra11@37.58.58.232) has left this server (Quit: IRC for Sailfish 0.9).
727‎[00:03] <-- athan_ (~athan@184-96-104-23.hlrn.qwest.net) has left this server (Quit: leaving).
728‎[00:04] --> iqubic (~iqubic@2601:602:8a00:1bd7:2539:2f19:1bac:69c0) has joined this channel.
729‎[00:04] --> JappleAck (~unclechu@64.120.50.125) has joined this channel.
730‎[00:04] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
731‎[00:04] <-- louispan (~textual@14-203-219-236.static.tpgi.com.au) has left this server (Client Quit).
732‎[00:05] ‎<‎hexagoxel‎>‎ yeah, separation makes perfect sense. i only seem to prefer explicit imports last, and in-package are implicit mostly.
733‎[00:07] <-- unK_ (~drunK@78.9.6.197) has left this server (Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/).
734‎[00:07] --> conal_ (~conal@174.128.230.166) has joined this channel.
735‎[00:08] <-- ystael (~ystael@50-199-243-61-static.hfc.comcastbusiness.net) has left this server (Ping timeout: 255 seconds).
736‎[00:08] --> StoneToad (~StoneToad@ppp-199-167-119-213.storm.ca) has joined this channel.
737‎[00:09] <-- nut (~user@ver78-1-82-240-30-39.fbx.proxad.net) has left this server (Remote host closed the connection).
738‎[00:11] <-- cement (~quassel@12.150.97.130) has left this server (Ping timeout: 258 seconds).
739‎[00:12] --> royal_screwup21 (89de72f2@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.242) has joined this channel.
740‎[00:13] ‎* ‎hackagebot‎‎ uuid-crypto 1.3.0.0 – Reversable and secure encoding of object ids as uuids – https://hackage.haskell.org/package/uuid-crypto
741‎[00:13] <-- Myrl-saki (~myrl@unaffiliated/myrl) has left this server (Ping timeout: 260 seconds).
742‎[00:14] <-- conal_ (~conal@174.128.230.166) has left this server (Quit: Computer has gone to sleep.).
743‎[00:15] <-- Nd-69-M (~nend@109.72.55.120) has left this server (Ping timeout: 264 seconds).
744‎[00:15] <-- AntiSpamMeta (~MetaBot@AntiSpamMeta/.) has left this server (Read error: Connection reset by peer).
745‎[00:15] <-- Psybur (~broheim@pool-108-44-203-65.clppva.fios.verizon.net) has left this server (Ping timeout: 240 seconds).
746‎[00:16] --> AntiSpamMeta (~MetaBot@AntiSpamMeta/.) has joined this channel.
747‎[00:16] <-- eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Remote host closed the connection).
748‎[00:17] <-- sfcg (~sfcg@79.97.176.188) has left this server (Remote host closed the connection).
749‎[00:18] <-- shanemikel (~textual@eduroam-169-233-194-87.ucsc.edu) has left this server (Ping timeout: 248 seconds).
750‎[00:18] <-- soareschen (~soares@202.73.38.198) has left this server (Ping timeout: 240 seconds).
751‎[00:19] <-- nicknight (~ubuntu@unaffiliated/nicknight) has left this server (Remote host closed the connection).
752‎[00:19] <-- John882 (~John882@185.140.114.52) has left this server (Ping timeout: 240 seconds).
753‎[00:19] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
754‎[00:22] --> soareschen (~soares@202.73.38.198) has joined this channel.
755‎[00:23] --> AxelAlex (~AxelAlex@dynamic-addr-130-13.resnet.rochester.edu) has joined this channel.
756‎[00:23] --> phillip (~phillip@66-189-210-80.dhcp.elbg.wa.charter.com) has joined this channel.
757‎[00:24] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 258 seconds).
758‎[00:24] <-- herr_jth (~HerrJth@ip5f5bf4db.dynamic.kabel-deutschland.de) has left this server.
759‎[00:25] <-- chao-tic (~chao@218.101.54.122) has left this server (Ping timeout: 248 seconds).
760‎[00:26] <-- fishythefish (~fishythef@2620:10d:c090:200::7:d73b) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
761‎[00:26] <-- JeanCarloMachado (~jean@186.215.119.122) has left this server (Ping timeout: 255 seconds).
762‎[00:28] --> augur (~augur@noisebridge130.static.monkeybrains.net) has joined this channel.
763‎[00:29] --> mmachenry (~Adium@209-6-216-5.s4.c3-0.smr-ubr1.sbo-smr.ma.cable.rcncustomer.com) has joined this channel.
764‎[00:30] <-- hiratara (~hiratara@240f:7:4708:1:b928:db58:2b78:aec2) has left this server (Remote host closed the connection).
765‎[00:30] --> emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has joined this channel.
766‎[00:30] ‎<‎royal_screwup21‎>‎ Suppose I have a datatype like so: data FOO = [Int]. So it's a list of ints. Now I want to add 1 to every element to FOO [1,2,3] like so: map (+1) FOO [1,2,3]. But this returned an error https://thepasteb.in/p/1jhnN0poqmjSB What am I doing wrong?
767‎[00:30] <-- chlong (chlong|gon@nat/redhat/x-dcrdpxbbpoiwaith) has left this server (Ping timeout: 240 seconds).
768‎[00:31] --> hiratara (~hiratara@240f:7:4708:1:2460:93fb:d7be:6526) has joined this channel.
769‎[00:32] <-- augur (~augur@noisebridge130.static.monkeybrains.net) has left this server (Remote host closed the connection).
770‎[00:34] --> safe (~safe@unaffiliated/safe) has joined this channel.
771‎[00:35] <-- fragamus (~textual@2602:306:3a1a:87a0:6192:9dbb:6017:e598) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
772‎[00:36] --> cyborg-one (~cyborg-on@185.145.105.52) has joined this channel.
773‎[00:37] --> xormor (~xormor@unaffiliated/xormor) has joined this channel.
774‎[00:37] --> fizruk (~anonymous@90.201.161.14) has joined this channel.
775‎[00:37] --> marcux (~marco@179.247.132.195) has joined this channel.
776‎[00:38] ‎<‎mpickering‎>‎ There are a few things that look wrong
777‎[00:38] <-- mmachenry (~Adium@209-6-216-5.s4.c3-0.smr-ubr1.sbo-smr.ma.cable.rcncustomer.com) has left this server (Quit: Leaving.).
778‎[00:38] ‎<‎mpickering‎>‎ I presume you have written data FOO = FOO [Int]
779‎[00:39] ‎<‎dmwit‎>‎ > map (+1) [1,2,3] -- I propose that you skip all the FOO stuff entirely
780‎[00:39] ‎<‎lambdabot‎>‎ [2,3,4]
781‎[00:39] <-- Warezovvv (~Warezovvv@213.108.213.119) has left this server (Read error: Connection reset by peer).
782‎[00:39] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
783‎[00:39] ‎<‎royal_screwup21‎>‎ ah yes data FOO = FOO [Int] shit I'm sorry, I'll be more careful next time
784‎[00:40] <-- BlueRavenGT (~BlueRaven@8-22-14-133.utopiafiber.net) has left this server (Ping timeout: 255 seconds).
785‎[00:40] ‎<‎royal_screwup21‎>‎ but even so
786‎[00:40] ‎<‎dmwit‎>‎ In that case you probably just need more parentheses.
787‎[00:40] ‎<‎dmwit‎>‎ ?let data FOO = FOO [Int]
788‎[00:40] ‎<‎lambdabot‎>‎ Defined.
789‎[00:40] ‎<‎dmwit‎>‎ Ah. No, there is another problem: `map` applies only to lists, not to `FOO`s.
790‎[00:40] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
791‎[00:41] <-- acidjnk (~acidjnk22@p4FFBD8CD.dip0.t-ipconnect.de) has left this server (Ping timeout: 248 seconds).
792‎[00:41] ‎<‎dmwit‎>‎ So you will need to unwrap the list from the `FOO` type first if you want to use `map`.
793‎[00:41] ‎<‎dmwit‎>‎ e.g. you could write `unFOO :: FOO -> [Int]; unFOO (FOO x) = x`.
794‎[00:42] ‎<‎dmwit‎>‎ > let unFOO (FOO x) = x in map (+1) . unFOO $ FOO [1,2,3]
795‎[00:42] ‎<‎lambdabot‎>‎ [2,3,4]
796‎[00:42] ‎<‎dmwit‎>‎ ?undefine
797‎[00:42] ‎<‎lambdabot‎>‎ Undefined.
798‎[00:42] ‎<‎dmwit‎>‎ ?let data FOO = FOO [Int] deriving (Eq, Ord, Read, Show)
799‎[00:42] ‎<‎lambdabot‎>‎ Defined.
800‎[00:42] ‎<‎dmwit‎>‎ > let unFOO (FOO x) = x in FOO . map (+1) . unFOO $ FOO [1,2,3]
801‎[00:42] ‎<‎lambdabot‎>‎ FOO [2,3,4]
802‎[00:44] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Ping timeout: 240 seconds).
803‎[00:44] <-- shloub (~shloub@2a01cb00008cdf00754146802ced3062.ipv6.abo.wanadoo.fr) has left this server (Quit: Leaving).
804‎[00:44] --> unyu (~pyon@unaffiliated/pyon) has joined this channel.
805‎[00:45] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 260 seconds).
806‎[00:46] ‎* ‎hackagebot‎‎ htoml-megaparsec 1.0.0.4 – Parser for TOML files – https://hackage.haskell.org/package/htoml-megaparsec
807‎[00:48] <-- sepp2k (~sepp2k@pcclt32.isp.uni-luebeck.de) has left this server (Quit: Leaving.).
808‎[00:48] --> cpup (~cpup@32.218.112.187) has joined this channel.
809‎[00:49] --> louispan (~textual@203.38.203.134) has joined this channel.
810‎[00:49] ‎<‎royal_screwup21‎>‎ I was trying to piece together small parts of my module but I guess it'd be a better idea if I just showed the whole thing. This is it https://thepasteb.in/p/66hVYgPrr6PCW Now I *have* to use the data mentioned in the first 2 lines. When I try to compile it, I get this error: https://thepasteb.in/p/Vmh0oE2l6ZmH4 I'm doing something wrong with the d
811‎[00:49] ‎<‎royal_screwup21‎>‎ atatypes in the last function, but I'm not sure what. I wrote it assuming "cells" is a list of list of characters
812‎[00:49] <-- louispan (~textual@203.38.203.134) has left this server (Client Quit).
813‎[00:51] <-- CoderPuppy (~cpup@32.218.112.70) has left this server (Ping timeout: 240 seconds).
814‎[00:51] <-- ziocroc (~ziocroc@151.74.89.206) has left this server (Ping timeout: 255 seconds).
815‎[00:52] <-- wraithm (~wraithm@unaffiliated/wraithm) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
816‎[00:52] --> LeanderK (~textual@2a02:8071:31bb:b700:9445:98a0:5254:6828) has joined this channel.
817‎[00:53] ‎<‎lyxia‎>‎ royal_screwup21: what is the type of cols
818‎[00:53] ‎<‎royal_screwup21‎>‎ cols :: Sudoku -> [[Cell]]
819‎[00:53] ‎<‎lyxia‎>‎ royal_screwup21: it expects a Sudoku as an argument
820‎[00:53] ‎<‎lyxia‎>‎ royal_screwup21: map ... is a list
821‎[00:53] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
822‎[00:54] ‎<‎royal_screwup21‎>‎ oh
823‎[00:56] --> urodna_ (~urodna@unaffiliated/urodna) has joined this channel.
824‎[00:57] ‎<‎royal_screwup21‎>‎ lyxia so is this wrong as well "map (bundle 3) cells"? I think it is because "cells" is a Sudoku list of list of characters, and map works on vanilla lists, not on Sudoku lists
825‎[00:57] --> Apocalisp (~textual@172.110.61.179) has joined this channel.
826‎[00:58] <-- unyu (~pyon@unaffiliated/pyon) has left this server (Ping timeout: 240 seconds).
827‎[00:59] <-- urodna (~urodna@unaffiliated/urodna) has left this server (Ping timeout: 258 seconds).
828‎[00:59] --> conal (~conal@174.128.230.166) has joined this channel.
829‎[01:00] <-- deba5e12 (~oblivia@213.152.161.25) has left this server (Ping timeout: 240 seconds).
830‎[01:01] --> louispan (~textual@203.38.203.134) has joined this channel.
831‎[01:02] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
832‎[01:02] --> mizu_no_oto (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has joined this channel.
833‎[01:02] <-- neoncontrails (~neoncontr@2001:579:e09c:101:f8ce:cb5d:ee6c:1d5e) has left this server (Ping timeout: 246 seconds).
834‎[01:02] --> CoderPuppy (~cpup@32.218.112.221) has joined this channel.
835‎[01:03] <-- serendependy (~christoph@2620:0:e50:1401:254c:5ecc:605:98c0) has left this server (Ping timeout: 246 seconds).
836‎[01:03] --> chao-tic (~chao@218.101.54.122) has joined this channel.
837‎[01:03] --> neoncontrails (~neoncontr@2001:579:e09c:101:6d38:a021:baa0:fbf4) has joined this channel.
838‎[01:04] <-- stef204 (~stef204@unaffiliated/stef-204/x-384198) has left this server (Quit: WeeChat 1.9.1).
839‎[01:04] <-- fizruk (~anonymous@90.201.161.14) has left this server (Quit: fizruk).
840‎[01:04] <-- twanvl (~twanvl@92.110.121.28) has left this server (Ping timeout: 258 seconds).
841‎[01:04] --> oisdk (~textual@51-171-255-121-dynamic.agg2.dyx.chf-qkr.eircom.net) has joined this channel.
842‎[01:04] --> mson (uid110608@gateway/web/irccloud.com/x-zgolvldjbcocdsoi) has joined this channel.
843‎[01:05] <-- cpup (~cpup@32.218.112.187) has left this server (Ping timeout: 258 seconds).
844‎[01:06] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 240 seconds).
845‎[01:07] <-- f278f1b2 (~f278f1b2@212.16.19.1) has left this server (Quit: WeeChat 2.0-dev).
846‎[01:08] --> BlueRavenGT (~BlueRaven@8-22-14-133.utopiafiber.net) has joined this channel.
847‎[01:08] --> Tops2 (~Tobias@dyndsl-095-033-065-173.ewe-ip-backbone.de) has joined this channel.
848‎[01:08] --> serendependy (~christoph@2620:0:e50:1401:254c:5ecc:605:98c0) has joined this channel.
849‎[01:09] --> f278f1b2 (~f278f1b2@212.16.19.1) has joined this channel.
850‎[01:09] <-- f278f1b2 (~f278f1b2@212.16.19.1) has left this channel.
851‎[01:09] --> Jackoe (~jackoe@eduroam-166-46.dyn.carleton.edu) has joined this channel.
852‎[01:09] <-- wollw (~rshere@108-208-193-216.lightspeed.sntcca.sbcglobal.net) has left this server (Ping timeout: 258 seconds).
853‎[01:10] <-- peterbecich (~peterbeci@47.37.164.78) has left this server (Remote host closed the connection).
854‎[01:11] ‎<‎lyxia‎>‎ cells is a list
855‎[01:11] ‎<‎lyxia‎>‎ It's the field of the Sudoku constructor, which has type [Cell]
856‎[01:12] ‎<‎royal_screwup21‎>‎ ah okay, so that line would work
857‎[01:12] <-- Jackoe (~jackoe@eduroam-166-46.dyn.carleton.edu) has left this server (Client Quit).
858‎[01:13] --> peterbecich (~user@47.37.164.78) has joined this channel.
859‎[01:13] --> felix1 (~felixschl@14.1.45.186) has joined this channel.
860‎[01:15] --> vuto (~vuto@42.116.160.153) has joined this channel.
861‎[01:15] <-- conal (~conal@174.128.230.166) has left this server (Quit: Computer has gone to sleep.).
862‎[01:15] --> deba5e12 (~oblivia@213.152.161.219) has joined this channel.
863‎[01:16] <-- cschneid_ (~cschneid@c-71-196-161-201.hsd1.co.comcast.net) has left this server (Remote host closed the connection).
864‎[01:17] --> athan_ (~athan@184-96-104-23.hlrn.qwest.net) has joined this channel.
865‎[01:18] <-- machinedgod (~machinedg@198-84-249-5.cpe.teksavvy.com) has left this server (Quit: leaving).
866‎[01:19] --> okuu (~pyon@unaffiliated/pyon) has joined this channel.
867‎[01:19] <-- vuto (~vuto@42.116.160.153) has left this server (Ping timeout: 248 seconds).
868‎[01:20] --> conal (~conal@174.128.230.166) has joined this channel.
869‎[01:20] ‎<‎royal_screwup21‎>‎ To break up the problem, I tried this: https://thepasteb.in/p/Mjhx4L2BOXKFV This compiles. But when I type in on the interpreter "rows Sudoku ["123","456"]", it gives me an error: https://thepasteb.in/p/k5hYzRkyX4jiE
870‎[01:20] <-- pera (~pera@unaffiliated/pera) has left this server (Ping timeout: 240 seconds).
871‎[01:21] --> pera (~pera@unaffiliated/pera) has joined this channel.
872‎[01:21] <-- peterbecich (~user@47.37.164.78) has left this server (Remote host closed the connection).
873‎[01:21] ‎<‎lyxia‎>‎ what you typed is rows applied to two arguments, Sudoku and ["123","456"]
874‎[01:22] ‎<‎royal_screwup21‎>‎ oh shit I didn't put parantheses
875‎[01:23] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
876‎[01:24] <-- ph88 (~ph88@87.214.234.33) has left this server (Quit: Leaving).
877‎[01:24] --> fragamus (~textual@2602:306:3a1a:87a0:6192:9dbb:6017:e598) has joined this channel.
878‎[01:28] --> augur (~augur@noisebridge130.static.monkeybrains.net) has joined this channel.
879‎[01:28] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 248 seconds).
880‎[01:28] <-- felix1 (~felixschl@14.1.45.186) has left this server (Quit: WeeChat 1.4).
881‎[01:29] --> louispan_ (~textual@1.144.97.219) has joined this channel.
882‎[01:29] --> felix1 (~felixschl@14.1.45.186) has joined this channel.
883‎[01:29] ‎<‎felix1‎>‎ esod
884‎[01:29] ‎<‎felix1‎>‎ sorry, irc client slow, was joining #yesod :)
885‎[01:30] --> plutoniix (~q@175.176.222.7) has joined this channel.
886‎[01:30] --> mekeor (~mekeor@2001:a61:2289:b101:a67e:478c:d30c:6ea7) has joined this channel.
887‎[01:30] ‎<‎felix1‎>‎ anyway, very quite in #yesod and my question could be understood more generally: in other web frameworks there's often the idea of internal events so that subsystems can be loosly coupled (I am thinking of an audit log)
888‎[01:31] ‎<‎felix1‎>‎ How would I go about approaching this in #yesod or in Haskell more generally speaking
889‎[01:31] <-- pfurla (~textual@38.86.167.91) has left this server (Quit: My MacBook Pro has gone to sleep. ZZZzzz…).
890‎[01:31] ‎<‎felix1‎>‎ s/#yesod/Yesod/
891‎[01:32] <-- louispan (~textual@203.38.203.134) has left this server (Ping timeout: 260 seconds).
892‎[01:33] <-- LeanderK (~textual@2a02:8071:31bb:b700:9445:98a0:5254:6828) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
893‎[01:33] <-- augur (~augur@noisebridge130.static.monkeybrains.net) has left this server (Remote host closed the connection).
894‎[01:33] --> LeanderK (~textual@2a02:8071:31bb:b700:9445:98a0:5254:6828) has joined this channel.
895‎[01:34] <-- LeanderK (~textual@2a02:8071:31bb:b700:9445:98a0:5254:6828) has left this server (Client Quit).
896‎[01:35] <-- pera (~pera@unaffiliated/pera) has left this server (Ping timeout: 258 seconds).
897‎[01:36] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
898‎[01:38] --> augur (~augur@noisebridge130.static.monkeybrains.net) has joined this channel.
899‎[01:38] <-- emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has left this server (Ping timeout: 260 seconds).
900‎[01:38] <-- Khisanth (~Khisanth@pool-108-46-6-62.nycmny.east.verizon.net) has left this server (Ping timeout: 240 seconds).
901‎[01:39] --> nakal (~nakal@port-92-201-62-113.dynamic.qsc.de) has joined this channel.
902‎[01:39] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Remote host closed the connection).
903‎[01:41] --> peterbecich (~user@47.37.164.78) has joined this channel.
904‎[01:42] <-- nakal_ (~nakal@port-92-201-78-137.dynamic.qsc.de) has left this server (Ping timeout: 248 seconds).
905‎[01:42] --> XorSwap (~XorSwap@199.254.238.206) has joined this channel.
906‎[01:43] --> forgottenone (~forgotten@176.40.61.88) has joined this channel.
907‎[01:43] ‎<‎Tehnix_‎>‎ felix1: yesod is usually quite dead :/
908‎[01:43] *** Tehnix_ is now known as Tehnix.
909‎[01:44] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
910‎[01:45] <-- nighty- (~nighty@s229123.ppp.asahi-net.or.jp) has left this server (Quit: Disappears in a puff of smoke).
911‎[01:45] ‎<‎Tehnix‎>‎ felix1: could you expand a bit more on that? Or perhaps examples from other places?
912‎[01:45] --> markus1199 (~markus118@p4FDC0A46.dip0.t-ipconnect.de) has joined this channel.
913‎[01:45] <-- athan_ (~athan@184-96-104-23.hlrn.qwest.net) has left this server (Read error: No route to host).
914‎[01:46] <-- zachk (~Zach@unaffiliated/zachk) has left this server (Quit: zzzzzZZZzzzz).
915‎[01:48] --> jedws (~jedws@203.123.105.182) has joined this channel.
916‎[01:48] <-- markus1189 (~markus118@p4FDC0BEF.dip0.t-ipconnect.de) has left this server (Ping timeout: 248 seconds).
917‎[01:48] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 240 seconds).
918‎[01:49] --> cpennington (~cpenningt@pool-108-7-186-67.bstnma.fios.verizon.net) has joined this channel.
919‎[01:49] --> kvda (~kvda@unaffiliated/kvda) has joined this channel.
920‎[01:51] ‎<‎felix1‎>‎ Tehnix: of course, for example in Django we have "Signals". The API is actaully quite shoddy but it's useful none the less https://docs.djangoproject.com/en/1.11/topics/signals/
921‎[01:51] <-- conal (~conal@174.128.230.166) has left this server (Quit: Computer has gone to sleep.).
922‎[01:53] --> conal (~conal@174.128.230.166) has joined this channel.
923‎[01:53] ‎<‎felix1‎>‎ Tehnix: in wordpress you have "hooks" which are quite different but solve the same problem to some degree
924‎[01:53] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
925‎[01:54] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
926‎[01:54] ‎<‎felix1‎>‎ Tehnix: I am not set on the idea of this, but the problem I need to solve is adding logging and keeping an audit log without sprinkling the logic everywhere
927‎[01:55] --> quazimodo (~quazimodo@14-202-234-219.static.tpgi.com.au) has joined this channel.
928‎[01:56] --> soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has joined this channel.
929‎[01:56] <-- jmelesky (~jmelesky@50-198-175-73-static.hfc.comcastbusiness.net) has left this server (Quit: Textual IRC Client: www.textualapp.com).
930‎[01:56] --> cschneid_ (~cschneid@2603:300b:901:300:5cfb:cdd1:326f:baf0) has joined this channel.
931‎[01:57] --> Khisanth (~Khisanth@pool-108-46-1-12.nycmny.east.verizon.net) has joined this channel.
932‎[01:57] <-- asdfoiawe (~quassel@200116b86296ae0031801bde9d49f0c8.dip.versatel-1u1.de) has left this server (Ping timeout: 255 seconds).
933‎[01:57] --> dan_f (~dan@24.148.32.207) has joined this channel.
934‎[01:57] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 240 seconds).
935‎[01:59] <-- tobiasBora2 (~leo@bornebora.crans.org) has left this server (Ping timeout: 260 seconds).
936‎[01:59] <-- raingloom (~raingloom@catv-178-48-182-35.catv.broadband.hu) has left this server (Quit: WeeChat 1.9.1).
937‎[02:00] <-- jrabe (irc@janikrabe.com) has left this server.
938‎[02:00] <-- johanna1 (~johanna@185.103.96.135) has left this server.
939‎[02:00] --> jrabe (irc@janikrabe.com) has joined this channel.
940‎[02:01] <-- cschneid_ (~cschneid@2603:300b:901:300:5cfb:cdd1:326f:baf0) has left this server (Ping timeout: 258 seconds).
941‎[02:01] <-- aarvar (~foewfoiew@50.34.105.170) has left this server (Ping timeout: 246 seconds).
942‎[02:02] <-- SaidinWoT (~saidinwot@2604:a880:2:d0::50:8001) has left this server (Ping timeout: 246 seconds).
943‎[02:02] --> SaidinWoT (~saidinwot@2604:a880:2:d0::50:8001) has joined this channel.
944‎[02:02] --> erisco (~erisco@198-84-159-71.cpe.teksavvy.com) has joined this channel.
945‎[02:02] --> Nd-69-M (~nend@109.72.55.120) has joined this channel.
946‎[02:03] <-- chao-tic (~chao@218.101.54.122) has left this server (Ping timeout: 240 seconds).
947‎[02:03] --> joomy (~joomy@129.133.190.254) has joined this channel.
948‎[02:03] <-- verement (~anonymous@cpe-76-167-225-79.san.res.rr.com) has left this server (Quit: verement).
949‎[02:04] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
950‎[02:04] --> aarvar (~foewfoiew@50.34.105.170) has joined this channel.
951‎[02:04] --> roi_du_silence (~dragon@43-226-6-155.static.rise.as) has joined this channel.
952‎[02:05] --> Lthere (~Lthere@91.236.116.83) has joined this channel.
953‎[02:05] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
954‎[02:07] <-- rootnode (~rootnode@mail.rootnode.xyz) has left this server (Ping timeout: 246 seconds).
955‎[02:07] <-- phillip (~phillip@66-189-210-80.dhcp.elbg.wa.charter.com) has left this server (Quit: phillip).
956‎[02:08] --> rootnode (~rootnode@mail.rootnode.xyz) has joined this channel.
957‎[02:08] --> phillip (~phillip@66-189-210-80.dhcp.elbg.wa.charter.com) has joined this channel.
958‎[02:08] --> cdg (~cdg@157.166.173.4) has joined this channel.
959‎[02:09] ‎<‎Tehnix‎>‎ felix1: Ah, so a way to set up signals all over the place, and then later on register handlers for them?
960‎[02:09] ‎<‎Tehnix‎>‎ I don't think there's anything inherently unique about it
961‎[02:10] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 248 seconds).
962‎[02:10] --> JeanCarloMachado (~jean@186.222.6.65) has joined this channel.
963‎[02:10] <-- jb55 (~jb55@208.98.200.100) has left this server (Ping timeout: 264 seconds).
964‎[02:11] ‎<‎Tehnix‎>‎ You could have a Signal datatype, then create a signal function that you call supplying whatever type matches your event. The signal could then case on each Signal type and handle ones you have anything to do on
965‎[02:12] <-- cdg_ (~cdg@157.166.173.4) has left this server (Ping timeout: 260 seconds).
966‎[02:12] --> shangxiao (~shangxiao@210-84-49-240.dyn.iinet.net.au) has joined this channel.
967‎[02:13] ‎<‎Tehnix‎>‎ This will mean that you have all your Signal types at one place, and at least the glue code for the handlers there too, but the handler code itself could just be from an import
968‎[02:13] <-- cdg (~cdg@157.166.173.4) has left this server (Ping timeout: 255 seconds).
969‎[02:13] --> vuto (~vuto@42.116.160.153) has joined this channel.
970‎[02:13] ‎<‎Tehnix‎>‎ Dunno if you were hoping for more separation, which would take some other approach that my coffee riddled mind hasn't come up with yet
971‎[02:14] --> verement (~anonymous@cpe-76-167-225-79.san.res.rr.com) has joined this channel.
972‎[02:15] ‎<‎felix1‎>‎ Tehnix: no what you described is what I am after. I guess I would use conduit or pipes for the job?
973‎[02:15] ‎<‎felix1‎>‎ With some custom type class constraint on my `m`s everywhere?
974‎[02:16] <-- marr (~ccc@87-205-254-96.adsl.inetia.pl) has left this server (Ping timeout: 240 seconds).
975‎[02:16] <-- thc202 (~thc202@unaffiliated/thc202) has left this server (Ping timeout: 255 seconds).
976‎[02:16] ‎<‎felix1‎>‎ I guess what I am unsure about is just how it will fit into the Yesod way of doing things, I have not fully grasped how a process is spawned in rsponse to a request
977‎[02:16] ‎<‎felix1‎>‎ It would need to fork a computation somewhere to handle each event in parallel
978‎[02:17] *** kipras is now known as kipras`away.
979‎[02:17] <-- conal (~conal@174.128.230.166) has left this server (Quit: Computer has gone to sleep.).
980‎[02:17] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
981‎[02:17] --> Scip (~scip@76.121.6.102) has joined this channel.
982‎[02:17] <-- Gurkenglas (~Gurkengla@dslb-094-223-135-191.094.223.pools.vodafone-ip.de) has left this server (Ping timeout: 264 seconds).
983‎[02:17] ‎<‎felix1‎>‎ For example, I could use pipes-concurrent to set up a channel, then send to that channel from my handlers etc. Then `runEffect` the producer the channel gives me (fromInput) and handle each event
984‎[02:18] <-- vuto (~vuto@42.116.160.153) has left this server (Ping timeout: 240 seconds).
985‎[02:18] <-- scottj (~s@unaffiliated/scottj) has left this server (Quit: leaving).
986‎[02:18] ‎<‎felix1‎>‎ I was hoping for some examples of it or if there's sth more high level, or things to watch out for (for example db handle sharing, not sure what sort of guarantees around locking yesod provides me with here)
987‎[02:18] <-- soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has left this server (Remote host closed the connection).
988‎[02:19] ‎<‎Tehnix‎>‎ felix1: IIRC each request in Yesod spawns a thread (light weight in Haskell) which handles the request and response
989‎[02:19] --> soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has joined this channel.
990‎[02:19] <-- soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has left this server (Remote host closed the connection).
991‎[02:19] <-- quobo (uid178934@gateway/web/irccloud.com/x-qcrbkknecrzaplvd) has left this server (Quit: Connection closed for inactivity).
992‎[02:19] --> soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has joined this channel.
993‎[02:21] --> mnoonan_ (~mnoonan@cpe-69-201-46-148.twcny.res.rr.com) has joined this channel.
994‎[02:23] <-- phillip (~phillip@66-189-210-80.dhcp.elbg.wa.charter.com) has left this server (Quit: phillip).
995‎[02:23] --> phillip (~phillip@66-189-210-80.dhcp.elbg.wa.charter.com) has joined this channel.
996‎[02:23] <-- iqubic (~iqubic@2601:602:8a00:1bd7:2539:2f19:1bac:69c0) has left this server (Remote host closed the connection).
997‎[02:23] ‎<‎Tehnix‎>‎ You would in your handler then call `signal $ NewUser username` where your signal function could be `signal NewUser username = forkIO something..`
998‎[02:23] --> iqubic (~iqubic@2601:602:8a00:1bd7:2539:2f19:1bac:69c0) has joined this channel.
999‎[02:23] --> conal (~conal@174.128.230.166) has joined this channel.
1000‎[02:23] <-- marcux (~marco@179.247.132.195) has left this server (Ping timeout: 248 seconds).
1001‎[02:24] --> moet (~moet@d-173-44-92-193.cpe.metrocast.net) has joined this channel.
1002‎[02:24] ‎<‎Tehnix‎>‎ felix1: You could do queues either in DB/Redis or in memory in Channels
1003‎[02:24] ‎<‎Tehnix‎>‎ For scalability I would go with DB/Redis, else you're blocking yourself from horizontal scaling later on
1004‎[02:24] ‎<‎felix1‎>‎ queues in DB/Redis?
1005‎[02:24] <-- Associat0r (~Associat0@unaffiliated/associat0r) has left this server (Read error: Connection reset by peer).
1006‎[02:24] <-- phillip (~phillip@66-189-210-80.dhcp.elbg.wa.charter.com) has left this server (Client Quit).
1007‎[02:25] ‎<‎felix1‎>‎ Could you explain that concept to me, that's new to me
1008‎[02:25] --> louispan (~textual@203.38.203.134) has joined this channel.
1009‎[02:25] <-- mekeor (~mekeor@2001:a61:2289:b101:a67e:478c:d30c:6ea7) has left this server (Ping timeout: 258 seconds).
1010‎[02:25] --> pera (~pera@unaffiliated/pera) has joined this channel.
1011‎[02:26] <-- louispan_ (~textual@1.144.97.219) has left this server (Ping timeout: 248 seconds).
1012‎[02:26] ‎<‎Tehnix‎>‎ Basically a job queue. You would put each signal into a table and then process them separately.
1013‎[02:26] ‎<‎Tehnix‎>‎ Not my finest code, but I did some quick thing a while ago like that https://github.com/hvisk/campaigns/blob/master/Job/Dispatch.hs
1014‎[02:26] ‎<‎felix1‎>‎ nice man :D
1015‎[02:27] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
1016‎[02:27] --> andyhuzhill (~Thunderbi@14.23.45.178) has joined this channel.
1017‎[02:27] --> eschnett (~eschnett@ktnron0916w-lp130-1-65-94-201-103.dsl.bell.ca) has joined this channel.
1018‎[02:28] ‎<‎Tehnix‎>‎ Jesus my code is cluttered ._. I'll compose a quick gist of some code locations
1019‎[02:28] ‎<‎felix1‎>‎ don't go out of your way, what's there is more than i could've asked for
1020‎[02:29] ‎<‎felix1‎>‎ a new world jsut opened up
1021‎[02:29] <-- soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has left this server (Remote host closed the connection).
1022‎[02:29] <-- augur (~augur@noisebridge130.static.monkeybrains.net) has left this server (Remote host closed the connection).
1023‎[02:29] --> soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has joined this channel.
1024‎[02:30] <-- toblorone (~toblorone@162.246.216.28) has left this server (Remote host closed the connection).
1025‎[02:30] <-- soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has left this server (Client Quit).
1026‎[02:31] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 240 seconds).
1027‎[02:31] --> soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has joined this channel.
1028‎[02:31] <-- cjwelborn (cjwelborn@gateway/shell/firrre/x-dfsstcrgsijxhilc) has left this server (Ping timeout: 255 seconds).
1029‎[02:32] <-- peterbecich (~user@47.37.164.78) has left this server (Ping timeout: 260 seconds).
1030‎[02:33] --> tobloron_ (~toblorone@162.246.216.28) has joined this channel.
1031‎[02:35] ‎<‎Tehnix‎>‎ felix1: https://gist.github.com/Tehnix/2feed7479c2e534d59556dbc3ea02bab
1032‎[02:35] ‎<‎Tehnix‎>‎ Should save you some digging in the code
1033‎[02:35] ‎<‎felix1‎>‎ Tehnix: thank you
1034‎[02:35] <-- tobloron_ (~toblorone@162.246.216.28) has left this server (Remote host closed the connection).
1035‎[02:36] --> toblorone (~toblorone@162.246.216.28) has joined this channel.
1036‎[02:36] --> cdg (~cdg@162-226-219-152.lightspeed.tukrga.sbcglobal.net) has joined this channel.
1037‎[02:36] --> cjwelborn (cjwelborn@gateway/shell/firrre/x-izoqhcwjiaejdoiu) has joined this channel.
1038‎[02:36] ‎<‎Tehnix‎>‎ That said, there might be better approaches. https://www.reddit.com/r/haskell/comments/5zvrwz/eve_extensible_eventdriven_application_framework/ looks interesting, and your pipes idea sounded cool too :)
1039‎[02:36] <-- Nd-69-M (~nend@109.72.55.120) has left this server (Ping timeout: 255 seconds).
1040‎[02:36] --> augur (~augur@noisebridge130.static.monkeybrains.net) has joined this channel.
1041‎[02:37] ‎<‎Tehnix‎>‎ You could also skip all of this, and simply wrap up some common DB operations you're going to do with the additional logging you want
1042‎[02:38] ‎<‎Tehnix‎>‎ Or https://hackage.haskell.org/package/persistent-audit for example
1043‎[02:38] <-- jedws (~jedws@203.123.105.182) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1044‎[02:39] --> Associat0r (~Associat0@31-151-60-131.dynamic.upc.nl) has joined this channel.
1045‎[02:39] <-- Associat0r (~Associat0@31-151-60-131.dynamic.upc.nl) has left this server (Changing host).
1046‎[02:39] --> Associat0r (~Associat0@unaffiliated/associat0r) has joined this channel.
1047‎[02:39] <-- codesoup (~codesoup@CPE00fc8de45853-CM00fc8de45850.cpe.net.cable.rogers.com) has left this server (Remote host closed the connection).
1048‎[02:39] --> fishythefish (~fishythef@mobile-166-170-43-223.mycingular.net) has joined this channel.
1049‎[02:40] <-- toblorone (~toblorone@162.246.216.28) has left this server (Ping timeout: 240 seconds).
1050‎[02:40] <-- cdg (~cdg@162-226-219-152.lightspeed.tukrga.sbcglobal.net) has left this server (Ping timeout: 248 seconds).
1051‎[02:40] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
1052‎[02:41] ‎<‎felix1‎>‎ I did come across eve, but felt I had to understand the problem a bit better first. that audit package looks interesting. i wonder though why all packages that are not super popular fall behind in maintenance... just not enough uptake?
1053‎[02:41] --> jedws (~jedws@203.123.105.182) has joined this channel.
1054‎[02:41] <-- serendependy (~christoph@2620:0:e50:1401:254c:5ecc:605:98c0) has left this server (Ping timeout: 255 seconds).
1055‎[02:42] ‎<‎Tehnix‎>‎ yeah, that is a super annoying thing with Yesod
1056‎[02:42] --> fryguybob (~fryguybob@96.43.64.250) has joined this channel.
1057‎[02:42] ‎<‎Tehnix‎>‎ It's definitely being actively used (Yesod), but juuuuuust too little for people to keep maintanence on their packages in the long term beyond their own need :/
1058‎[02:43] --> boj (~bojo@pw126199010085.18.panda-world.ne.jp) has joined this channel.
1059‎[02:44] <-- jedws (~jedws@203.123.105.182) has left this server (Client Quit).
1060‎[02:44] <-- louispan (~textual@203.38.203.134) has left this server (Quit: louispan).
1061‎[02:45] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Ping timeout: 240 seconds).
1062‎[02:45] <-- jeltsch (~wolfgang@85.253.254.16.cable.starman.ee) has left this server (Ping timeout: 258 seconds).
1063‎[02:45] --> kadobann (~kadoban_u@wsip-24-249-74-69.tu.ok.cox.net) has joined this channel.
1064‎[02:46] --> eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
1065‎[02:48] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
1066‎[02:49] <-- fishythefish (~fishythef@mobile-166-170-43-223.mycingular.net) has left this server (Ping timeout: 248 seconds).
1067‎[02:49] <-- augur (~augur@noisebridge130.static.monkeybrains.net) has left this server (Remote host closed the connection).
1068‎[02:49] --> codesoup (~codesoup@CPE00fc8de45853-CM00fc8de45850.cpe.net.cable.rogers.com) has joined this channel.
1069‎[02:50] <-- eruditass (uid248673@gateway/web/irccloud.com/x-pxybsidxvlvtouoh) has left this server (Quit: Connection closed for inactivity).
1070‎[02:51] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1071‎[02:52] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 240 seconds).
1072‎[02:53] ‎* ‎hackagebot‎‎ sessiontypes 0.1.1 – Session types library – https://hackage.haskell.org/package/sessiontypes
1073‎[02:53] <-- CHCl3 (~CHCl3@static.23.4.0.81.ibercom.com) has left this server (Remote host closed the connection).
1074‎[02:54] --> fishythefish (~fishythef@2620:10d:c090:180::1:152c) has joined this channel.
1075‎[02:54] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
1076‎[02:55] <-- DTZUZO (~DTZUZO@S0106bcd16584b0aa.vs.shawcable.net) has left this server (Ping timeout: 248 seconds).
1077‎[02:56] <-- JappleAck (~unclechu@64.120.50.125) has left this server (Quit: Leaving).
1078‎[02:56] <-- tsaka__ (~torstein@84-52-234.108.3p.ntebredband.no) has left this server (Ping timeout: 260 seconds).
1079‎[02:58] --> ackpacket (~ackpacket@unaffiliated/ackpacket) has joined this channel.
1080‎[02:58] --> Tops21 (~Tobias@dyndsl-095-033-103-125.ewe-ip-backbone.de) has joined this channel.
1081‎[02:58] --> marcux (~marco@179.247.132.195) has joined this channel.
1082‎[02:59] <-- Tops2 (~Tobias@dyndsl-095-033-065-173.ewe-ip-backbone.de) has left this server (Ping timeout: 240 seconds).
1083‎[03:00] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 255 seconds).
1084‎[03:00] <-- revprez_anz (~revprez_a@pool-108-7-200-87.bstnma.fios.verizon.net) has left this server (Quit: Lost terminal).
1085‎[03:00] --> revprez_anz (~revprez_a@pool-108-7-200-87.bstnma.fios.verizon.net) has joined this channel.
1086‎[03:00] <-- dejun17 (~dejun17@rrcs-74-218-216-158.central.biz.rr.com) has left this server (Ping timeout: 255 seconds).
1087‎[03:01] --> augur (~augur@noisebridge130.static.monkeybrains.net) has joined this channel.
1088‎[03:02] <-- shangxiao (~shangxiao@210-84-49-240.dyn.iinet.net.au) has left this server (Ping timeout: 240 seconds).
1089‎[03:02] <-- mizu_no_oto (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has left this server (Quit: ["Textual IRC Client: www.textualapp.com"]).
1090‎[03:02] <-- ackpacket (~ackpacket@unaffiliated/ackpacket) has left this server (Ping timeout: 260 seconds).
1091‎[03:04] <-- Scip (~scip@76.121.6.102) has left this server (Ping timeout: 240 seconds).
1092‎[03:05] ‎* ‎hackagebot‎‎ htoml-megaparsec 1.0.1.0 – Parser for TOML files – https://hackage.haskell.org/package/htoml-megaparsec
1093‎[03:05] <-- fishythefish (~fishythef@2620:10d:c090:180::1:152c) has left this server (Ping timeout: 258 seconds).
1094‎[03:06] --> Xion_ (~kaon@host109-148-117-160.range109-148.btcentralplus.com) has joined this channel.
1095‎[03:07] --> HMPerson1 (~HMPerson1@128.211.64.90) has joined this channel.
1096‎[03:08] <-- fragamus (~textual@2602:306:3a1a:87a0:6192:9dbb:6017:e598) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1097‎[03:09] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
1098‎[03:10] <-- Xion_ (~kaon@host109-148-117-160.range109-148.btcentralplus.com) has left this server (Ping timeout: 240 seconds).
1099‎[03:12] <-- augur (~augur@noisebridge130.static.monkeybrains.net) has left this server (Remote host closed the connection).
1100‎[03:12] <-- conal (~conal@174.128.230.166) has left this server (Quit: Computer has gone to sleep.).
1101‎[03:12] --> augur (~augur@noisebridge130.static.monkeybrains.net) has joined this channel.
1102‎[03:12] <-- okuu (~pyon@unaffiliated/pyon) has left this server (Remote host closed the connection).
1103‎[03:13] --> okuu (~pyon@unaffiliated/pyon) has joined this channel.
1104‎[03:14] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 248 seconds).
1105‎[03:14] --> ajmaidak_qclug (6ba7df76@gateway/web/freenode/ip.107.167.223.118) has joined this channel.
1106‎[03:14] *** ajmaidak_qclug is now known as mrfuntime1.
1107‎[03:15] --> cmoney92 (~cschroede@107.167.223.118) has joined this channel.
1108‎[03:15] --> guardianx (~pickle@lismor30.lnk.telstra.net) has joined this channel.
1109‎[03:16] <-- hexfive (~beknowly@50.35.82.88) has left this server (Quit: WeeChat 1.9).
1110‎[03:16] <-- jgertm (~jgertm@50-0-2-19.static.sonic.net) has left this server (Ping timeout: 255 seconds).
1111‎[03:17] --> ackpacket (~ackpacket@unaffiliated/ackpacket) has joined this channel.
1112‎[03:19] <-- mrfuntime1 (6ba7df76@gateway/web/freenode/ip.107.167.223.118) has left this server (Ping timeout: 260 seconds).
1113‎[03:20] --> shangxiao (~shangxiao@210-84-49-240.dyn.iinet.net.au) has joined this channel.
1114‎[03:24] <-- mortum5 (~mortum5@188.227.78.59) has left this server (Ping timeout: 248 seconds).
1115‎[03:25] ‎<‎royal_screwup21‎>‎ So I wrote up a function that, given a sudoku matrix, return elements in adjacent 3 x 3 blocks. I'm not sure if it's right though https://thepasteb.in/p/zmh8oymYmBLhZ I was hoping if someone could point me to the right track
1116‎[03:25] <-- crobbins (~crobbins@2602:30a:c08e:19e0:9d90:6296:ce0:7ba1) has left this server (Remote host closed the connection).
1117‎[03:25] --> crobbins (~crobbins@2602:30a:c08e:19e0:aaf7:790b:6148:469e) has joined this channel.
1118‎[03:25] <-- iqubic (~iqubic@2601:602:8a00:1bd7:2539:2f19:1bac:69c0) has left this server (Ping timeout: 246 seconds).
1119‎[03:25] <-- oisdk (~textual@51-171-255-121-dynamic.agg2.dyx.chf-qkr.eircom.net) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1120‎[03:25] --> jb55 (~jb55@70-36-49-138.dyn.novuscom.net) has joined this channel.
1121‎[03:26] --> cranej (~cranej@42.120.74.203) has joined this channel.
1122‎[03:26] --> MP2E (~cray@ip68-224-146-82.lv.lv.cox.net) has joined this channel.
1123‎[03:27] --> mj_k (~mj_k@59.10.109.21) has joined this channel.
1124‎[03:28] --> Eduard_Munteanu (~Eduard_Mu@188.25.231.135) has joined this channel.
1125‎[03:28] --> kuttifunk1 (~Thunderbi@host-188-174-220-229.customer.m-online.net) has joined this channel.
1126‎[03:28] --> chao-tic (~chao@218.101.54.122) has joined this channel.
1127‎[03:30] <-- kuttifunk (~Thunderbi@host-188-174-200-125.customer.m-online.net) has left this server (Ping timeout: 248 seconds).
1128‎[03:30] *** kuttifunk1 is now known as kuttifunk.
1129‎[03:30] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
1130‎[03:31] --> Scip (~scip@76.121.6.102) has joined this channel.
1131‎[03:32] <-- mmhat (~mmh@2a02:810a:12bf:e2e8:ee08:6bff:fe09:5315) has left this server (Quit: WeeChat 1.9.1).
1132‎[03:32] <-- marcux (~marco@179.247.132.195) has left this server (Ping timeout: 255 seconds).
1133‎[03:34] <-- replay (~replay@pdpc/supporter/student/replay) has left this server (Quit: Textual IRC Client: www.textualapp.com).
1134‎[03:34] --> emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has joined this channel.
1135‎[03:35] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 255 seconds).
1136‎[03:37] --> danthemyth (~danthemyt@c-73-135-109-146.hsd1.wv.comcast.net) has joined this channel.
1137‎[03:38] --> szehk (3b95958a@gateway/web/freenode/ip.59.149.149.138) has joined this channel.
1138‎[03:39] <-- emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has left this server (Ping timeout: 240 seconds).
1139‎[03:39] ‎<‎szehk‎>‎ hi all, i'm reading on Haskell NG ; https://stackoverflow.com/questions/29033580/how-do-i-use-the-new-haskell-ng-infrastructure-on-nixos
1140‎[03:39] --> lambdamu_ (~lambdamu@p57AB3922.dip0.t-ipconnect.de) has joined this channel.
1141‎[03:40] ‎<‎szehk‎>‎ i have read the stackoverflow , Journey Part I Part II , however , i don't know how to start, does anyone know a step by step guide?
1142‎[03:40] ‎<‎szehk‎>‎ the author has too many assumptions on the expertise of the users
1143‎[03:41] --> fragamus (~textual@104.220.42.53) has joined this channel.
1144‎[03:41] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
1145‎[03:41] --> acarrico (~acarrico@pppoe-68-142-58-22.gmavt.net) has joined this channel.
1146‎[03:42] <-- lambdamu (~lambdamu@p57AB379F.dip0.t-ipconnect.de) has left this server (Ping timeout: 260 seconds).
1147‎[03:43] --> nighty- (~nighty@kyotolabs.asahinet.com) has joined this channel.
1148‎[03:44] ‎* ‎hackagebot‎‎ colorless-scotty 0.0.2 – Scotty server add-on for Colorless – https://hackage.haskell.org/package/colorless-scotty
1149‎[03:45] --> Scip_ (~scip@76.121.6.102) has joined this channel.
1150‎[03:45] <-- Scip (~scip@76.121.6.102) has left this server (Quit: Leaving).
1151‎[03:45] <-- Scip_ (~scip@76.121.6.102) has left this server (Client Quit).
1152‎[03:45] --> Scip (~scip@76.121.6.102) has joined this channel.
1153‎[03:45] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Ping timeout: 255 seconds).
1154‎[03:46] <-- shangxiao (~shangxiao@210-84-49-240.dyn.iinet.net.au) has left this server (Ping timeout: 248 seconds).
1155‎[03:48] <-- govg (~govg@unaffiliated/govg) has left this server (Ping timeout: 255 seconds).
1156‎[03:49] <-- cmoney92 (~cschroede@107.167.223.118) has left this server (Ping timeout: 255 seconds).
1157‎[03:49] <-- xcmw (~textual@cpe-98-28-136-79.cinci.res.rr.com) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1158‎[03:49] <-- pavonia (~user@unaffiliated/siracusa) has left this server (Quit: Bye!).
1159‎[03:50] <-- ackpacket (~ackpacket@unaffiliated/ackpacket) has left this server (Ping timeout: 258 seconds).
1160‎[03:50] <-- Noldorin (~noldorin@unaffiliated/noldorin) has left this server (Quit: Textual IRC Client: www.textualapp.com).
1161‎[03:50] <-- danthemyth (~danthemyt@c-73-135-109-146.hsd1.wv.comcast.net) has left this server (Remote host closed the connection).
1162‎[03:51] --> Destol (~Destol@108.63.112.87) has joined this channel.
1163‎[03:52] <-- coot____________ (~coot@188.146.98.29.nat.umts.dynamic.t-mobile.pl) has left this server (Ping timeout: 260 seconds).
1164‎[03:53] --> systemfault (~rcyr@unaffiliated/rcyr) has joined this channel.
1165‎[03:55] <-- alx741 (~alx741@190.152.50.201) has left this server (Quit: alx741).
1166‎[03:56] <-- soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has left this server (Remote host closed the connection).
1167‎[03:56] --> soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has joined this channel.
1168‎[03:56] --> ackpacket (~ackpacket@unaffiliated/ackpacket) has joined this channel.
1169‎[03:58] <-- pera (~pera@unaffiliated/pera) has left this server (Ping timeout: 248 seconds).
1170‎[04:00] <-- banc (~master@217.151.98.168) has left this server (Quit: ZNC - http://znc.in).
1171‎[04:01] <-- soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has left this server (Ping timeout: 255 seconds).
1172‎[04:01] --> cschneid_ (~cschneid@2603:300b:901:300:60d8:3ea5:7736:c3d9) has joined this channel.
1173‎[04:03] --> vuto (~vuto@116.118.104.236) has joined this channel.
1174‎[04:04] <-- hucksy (~hucksy@p4FC0DF2F.dip0.t-ipconnect.de) has left this server (Ping timeout: 240 seconds).
1175‎[04:04] --> pfurla (~textual@ool-182ed51a.dyn.optonline.net) has joined this channel.
1176‎[04:04] <-- LeaChim (~LeaChim@xelix.net) has left this server (Remote host closed the connection).
1177‎[04:05] <-- fragamus (~textual@104.220.42.53) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1178‎[04:05] <-- Wizek_ (~Wizek@catv-89-132-132-110.catv.broadband.hu) has left this server (Ping timeout: 240 seconds).
1179‎[04:05] <-- eliasr (uid27497@gateway/web/irccloud.com/x-tjhgugvgfkyjddbv) has left this server (Quit: Connection closed for inactivity).
1180‎[04:05] <-- HaskellLord69 (~HaskellLo@gateway/vpn/privateinternetaccess/haskelllord69) has left this server (Quit: WeeChat 1.9.1).
1181‎[04:05] <-- cschneid_ (~cschneid@2603:300b:901:300:60d8:3ea5:7736:c3d9) has left this server (Ping timeout: 246 seconds).
1182‎[04:06] --> Youmu (uid129469@gateway/web/irccloud.com/x-bclwfyjisorrvwpo) has joined this channel.
1183‎[04:07] <-- yellowj (~yellowj@enr253.neoplus.adsl.tpnet.pl) has left this server (Ping timeout: 255 seconds).
1184‎[04:07] <-- schoppenhauer (~schoppenh@unaffiliated/schoppenhauer) has left this server (Ping timeout: 258 seconds).
1185‎[04:08] <-- Apocalisp (~textual@172.110.61.179) has left this server (Quit: Computer has gone to sleep.).
1186‎[04:08] --> yellowj (~yellowj@enr253.neoplus.adsl.tpnet.pl) has joined this channel.
1187‎[04:08] --> funmler (464dab23@gateway/web/freenode/ip.70.77.171.35) has joined this channel.
1188‎[04:09] --> schoppenhauer (~schoppenh@unaffiliated/schoppenhauer) has joined this channel.
1189‎[04:11] <-- neoncontrails (~neoncontr@2001:579:e09c:101:6d38:a021:baa0:fbf4) has left this server (Remote host closed the connection).
1190‎[04:12] --> banc (~master@217.151.98.168) has joined this channel.
1191‎[04:14] --> HaskellLord69 (~HaskellLo@gateway/vpn/privateinternetaccess/haskelllord69) has joined this channel.
1192‎[04:16] --> DTZUZO (~DTZUZO@S0106bcd16584b0aa.vs.shawcable.net) has joined this channel.
1193‎[04:16] --> pera (~pera@unaffiliated/pera) has joined this channel.
1194‎[04:16] <-- ackpacket (~ackpacket@unaffiliated/ackpacket) has left this server (Ping timeout: 240 seconds).
1195‎[04:17] <-- heurist (~heurist@unaffiliated/heurist) has left this server (Ping timeout: 240 seconds).
1196‎[04:17] --> ackpacket (~ackpacket@unaffiliated/ackpacket) has joined this channel.
1197‎[04:19] --> lagothrix (~lagothrix@unaffiliated/lagothrix) has joined this channel.
1198‎[04:19] <-- davr0s (~textual@host86-162-141-37.range86-162.btcentralplus.com) has left this server (Read error: Connection reset by peer).
1199‎[04:19] --> text1 (~safe@unaffiliated/safe) has joined this channel.
1200‎[04:20] <-- roi_du_silence (~dragon@43-226-6-155.static.rise.as) has left this server (Read error: Connection reset by peer).
1201‎[04:20] --> Guest6344 (~BlueRaven@8-22-14-133.utopiafiber.net) has joined this channel.
1202‎[04:20] --> Tops2 (~Tobias@dyndsl-095-033-103-125.ewe-ip-backbone.de) has joined this channel.
1203‎[04:20] <-- BlueRavenGT (~BlueRaven@8-22-14-133.utopiafiber.net) has left this server (Remote host closed the connection).
1204‎[04:20] <-- nakal (~nakal@port-92-201-62-113.dynamic.qsc.de) has left this server (Read error: Connection reset by peer).
1205‎[04:20] --> roi_du_silence (~dragon@43-226-6-154.static.rise.as) has joined this channel.
1206‎[04:20] --> louispan (~textual@203.38.203.134) has joined this channel.
1207‎[04:20] --> nakal (~nakal@port-92-201-62-113.dynamic.qsc.de) has joined this channel.
1208‎[04:21] <-- Tops21 (~Tobias@dyndsl-095-033-103-125.ewe-ip-backbone.de) has left this server (Ping timeout: 240 seconds).
1209‎[04:21] <-- a3Dman (~3Dman@unaffiliated/a3dman) has left this server (Ping timeout: 240 seconds).
1210‎[04:21] <-- spion_ (~spion@unaffiliated/spion) has left this server (Ping timeout: 240 seconds).
1211‎[04:21] <-- houli (sid198591@gateway/web/irccloud.com/x-rsnleibzvxwlbyzy) has left this server (Ping timeout: 240 seconds).
1212‎[04:21] <-- ocharles (sid30093@musicbrainz/user/ocharles) has left this server (Ping timeout: 240 seconds).
1213‎[04:21] <-- edwardk (sid47016@haskell/developer/edwardk) has left this server (Ping timeout: 240 seconds).
1214‎[04:21] <-- lagothri1 (~lagothrix@unaffiliated/lagothrix) has left this server (Ping timeout: 248 seconds).
1215‎[04:22] ‎<‎funmler‎>‎ Hi, I was looking at the source code for the Decimal package and I am trying to understand the allocate function.
1216‎[04:22] ‎<‎funmler‎>‎ https://hackage.haskell.org/package/Decimal-0.4.2/src/src/Data/Decimal.hs
1217‎[04:22] --> ocharles (sid30093@musicbrainz/user/ocharles) has joined this channel.
1218‎[04:22] <-- safe (~safe@unaffiliated/safe) has left this server (Ping timeout: 240 seconds).
1219‎[04:22] --> houli (sid198591@gateway/web/irccloud.com/x-czdqzucjagenymtw) has joined this channel.
1220‎[04:23] --> edwardk (sid47016@haskell/developer/edwardk) has joined this channel.
1221‎[04:24] --> buglebudabey (~buglebuda@fl-184-5-211-227.dhcp.embarqhsd.net) has joined this channel.
1222‎[04:24] --> Apocalisp (~textual@172.110.61.179) has joined this channel.
1223‎[04:25] --> spion (~spion@unaffiliated/spion) has joined this channel.
1224‎[04:25] --> a3Dman (~3Dman@unaffiliated/a3dman) has joined this channel.
1225‎[04:27] --> emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has joined this channel.
1226‎[04:28] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
1227‎[04:28] <-- HMPerson1 (~HMPerson1@128.211.64.90) has left this server (Remote host closed the connection).
1228‎[04:31] <-- centril (~centril@213-66-146-92-no250.tbcn.telia.com) has left this server (Ping timeout: 240 seconds).
1229‎[04:33] <-- emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has left this server (Ping timeout: 248 seconds).
1230‎[04:34] <-- yahb (xsbot@lua/bot/yalb) has left this server (Ping timeout: 240 seconds).
1231‎[04:34] <-- szehk (3b95958a@gateway/web/freenode/ip.59.149.149.138) has left this server (Ping timeout: 260 seconds).
1232‎[04:34] <-- soareschen (~soares@202.73.38.198) has left this server (Ping timeout: 240 seconds).
1233‎[04:34] <-- eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Read error: Connection reset by peer).
1234‎[04:34] --> eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
1235‎[04:38] --> yahb (xsbot@lua/bot/yalb) has joined this channel.
1236‎[04:38] --> turtleboy (~androirc@2607:fb90:a4bb:7927:9daf:3640:c3b6:7dc7) has joined this channel.
1237‎[04:40] --> toblorone (~toblorone@172.58.91.119) has joined this channel.
1238‎[04:41] --> theDon_ (~td@i577A18E1.versanet.de) has joined this channel.
1239‎[04:42] <-- cschneid (cschneid@2600:3c00::f03c:91ff:fe73:9540) has left this server (Ping timeout: 246 seconds).
1240‎[04:42] <-- ninedotnine (~dan@modemcable078.123-81-70.mc.videotron.ca) has left this server (Read error: Connection reset by peer).
1241‎[04:42] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
1242‎[04:43] --> ninedotnine (~dan@modemcable078.123-81-70.mc.videotron.ca) has joined this channel.
1243‎[04:43] <-- zymurgy (~zymurgy@li607-220.members.linode.com) has left this server (Ping timeout: 240 seconds).
1244‎[04:43] <-- marvin2 (~m@cpe-188-129-56-125.dynamic.amis.hr) has left this server (Quit: quit).
1245‎[04:43] <-- Clint (~Clint@libre.fm/hacker/clint) has left this server (Ping timeout: 248 seconds).
1246‎[04:43] <-- pmade (~ident@mail.pmade.com) has left this server (Ping timeout: 252 seconds).
1247‎[04:43] --> centril (~centril@78-71-110-26-no250.tbcn.telia.com) has joined this channel.
1248‎[04:43] <-- lispy (~lispy@li343-23.members.linode.com) has left this server (Ping timeout: 255 seconds).
1249‎[04:43] <-- nisstyre (wes@oftn/oswg-member/Nisstyre) has left this server (Ping timeout: 255 seconds).
1250‎[04:43] <-- AustinMatherne (~AustinMat@li1047-129.members.linode.com) has left this server (Ping timeout: 248 seconds).
1251‎[04:43] <-- Forkk (forkk@2600:3c00::f03c:91ff:fe84:de4d) has left this server (Ping timeout: 252 seconds).
1252‎[04:44] --> heurist (~heurist@unaffiliated/heurist) has joined this channel.
1253‎[04:44] <-- theDon (~td@i577A1CF2.versanet.de) has left this server (Ping timeout: 255 seconds).
1254‎[04:44] *** theDon_ is now known as theDon.
1255‎[04:45] <-- buglebudabey (~buglebuda@fl-184-5-211-227.dhcp.embarqhsd.net) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1256‎[04:45] --> Clint (~Clint@thumb.scru.org) has joined this channel.
1257‎[04:45] <-- Clint (~Clint@thumb.scru.org) has left this server (Changing host).
1258‎[04:45] --> Clint (~Clint@libre.fm/hacker/clint) has joined this channel.
1259‎[04:45] --> AustinMatherne (~AustinMat@li1047-129.members.linode.com) has joined this channel.
1260‎[04:45] --> lispy (~lispy@li343-23.members.linode.com) has joined this channel.
1261‎[04:45] --> mizu_no_oto_work (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has joined this channel.
1262‎[04:46] --> buglebudabey (~buglebuda@fl-184-5-211-227.dhcp.embarqhsd.net) has joined this channel.
1263‎[04:46] --> zymurgy (~zymurgy@li607-220.members.linode.com) has joined this channel.
1264‎[04:46] --> cschneid (cschneid@2600:3c00::f03c:91ff:fe73:9540) has joined this channel.
1265‎[04:47] --> Forkk (forkk@2600:3c00::f03c:91ff:fe84:de4d) has joined this channel.
1266‎[04:47] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Ping timeout: 240 seconds).
1267‎[04:47] <-- toblorone (~toblorone@172.58.91.119) has left this server (Read error: Connection reset by peer).
1268‎[04:47] ‎* ‎hackagebot‎‎ validation 0.6.0 – A data-type like Either but with an accumulating Applicative – https://hackage.haskell.org/package/validation
1269‎[04:47] --> nisstyre (wes@2600:3c00::f03c:91ff:fe69:7f3d) has joined this channel.
1270‎[04:47] --> toblorone (~toblorone@172.58.91.119) has joined this channel.
1271‎[04:47] --> pmade (~ident@mail.pmade.com) has joined this channel.
1272‎[04:48] <-- toblorone (~toblorone@172.58.91.119) has left this server (Read error: Connection reset by peer).
1273‎[04:48] --> toblorone (~toblorone@172.58.91.119) has joined this channel.
1274‎[04:48] --> soareschen (~soares@118.189.177.119) has joined this channel.
1275‎[04:48] <-- chao-tic (~chao@218.101.54.122) has left this server (Ping timeout: 258 seconds).
1276‎[04:48] <-- toblorone (~toblorone@172.58.91.119) has left this server (Read error: Connection reset by peer).
1277‎[04:49] --> chao-tic (~chao@218.101.54.122) has joined this channel.
1278‎[04:50] --> carlomagno1 (~cararell@inet-hqmc08-o.oracle.com) has joined this channel.
1279‎[04:50] <-- carlomagno (~cararell@inet-hqmc02-o.oracle.com) has left this server (Remote host closed the connection).
1280‎[04:51] <-- Snircle (~textual@ip68-6-211-19.sd.sd.cox.net) has left this server (Quit: Textual IRC Client: www.textualapp.com).
1281‎[04:51] ‎<‎moet‎>‎ hello, is there any difference between these two approaches to doing a type assertion (eg. to tets a type family) at compile time? http://lpaste.net/359129
1282‎[04:52] ‎<‎moet‎>‎ i think i know of one difference, using `id` doesn't seem to work with Nat-kinded types
1283‎[04:52] ‎<‎moet‎>‎ but i'm wondering if maybe somebody knows why?
1284‎[04:52] <-- kadobann (~kadoban_u@wsip-24-249-74-69.tu.ok.cox.net) has left this server (Quit: Bye).
1285‎[04:53] --> fragamus (~textual@2602:306:3a1a:87a0:746e:ed75:d85:aaa9) has joined this channel.
1286‎[04:53] <-- centril (~centril@78-71-110-26-no250.tbcn.telia.com) has left this server (Ping timeout: 258 seconds).
1287‎[04:53] <-- turtleboy (~androirc@2607:fb90:a4bb:7927:9daf:3640:c3b6:7dc7) has left this channel ("Quit").
1288‎[04:54] --> toblorone (~toblorone@172.58.91.119) has joined this channel.
1289‎[04:54] <-- yellowj (~yellowj@enr253.neoplus.adsl.tpnet.pl) has left this server (Ping timeout: 255 seconds).
1290‎[04:54] --> path[l] (~vsi@c-73-158-39-31.hsd1.ca.comcast.net) has joined this channel.
1291‎[04:54] --> HMPerson1 (~HMPerson1@128.211.64.90) has joined this channel.
1292‎[04:54] --> slack1256 (~slack1256@181-163-49-76.baf.movistar.cl) has joined this channel.
1293‎[04:55] ‎<‎slack1256‎>‎ let say I have a type newtype Mio m a = Mio { runMio :: StateT Int (StateT Char m) a }
1294‎[04:55] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
1295‎[04:55] --> thunderrd__ (~thunderrd@110.77.238.124) has joined this channel.
1296‎[04:55] ‎<‎slack1256‎>‎ to access the inner StateT I defined a helper `mioState = Mio $ lift get`
1297‎[04:56] --> yellowj (~yellowj@epy176.neoplus.adsl.tpnet.pl) has joined this channel.
1298‎[04:56] <-- path[l] (~vsi@c-73-158-39-31.hsd1.ca.comcast.net) has left this server (Client Quit).
1299‎[04:56] ‎<‎slack1256‎>‎ is there a way to just use make get infer the correct layer for the monad?
1300‎[04:56] <-- Wuzzy (~Wuzzy@p5790EDC3.dip0.t-ipconnect.de) has left this server (Quit: Wuzzy).
1301‎[04:58] <-- nisstyre (wes@2600:3c00::f03c:91ff:fe69:7f3d) has left this server (Changing host).
1302‎[04:58] --> nisstyre (wes@oftn/oswg-member/Nisstyre) has joined this channel.
1303‎[04:59] <-- thunderrd_ (~thunderrd@110.77.160.213) has left this server (Ping timeout: 240 seconds).
1304‎[05:00] <-- Lthere (~Lthere@91.236.116.83) has left this server.
1305‎[05:00] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 240 seconds).
1306‎[05:00] <-- KoH (~kane@p200300DE5BDDD900B6B49404A5CDEEAB.dip0.t-ipconnect.de) has left this server (Ping timeout: 258 seconds).
1307‎[05:01] ‎<‎geekosaur‎>‎ derive MonadState
1308‎[05:01] ‎<‎geekosaur‎>‎ oh, te inner one
1309‎[05:01] --> govg (~govg@unaffiliated/govg) has joined this channel.
1310‎[05:01] ‎<‎geekosaur‎>‎ not really, unfortunately; MonadState can't find both
1311‎[05:01] --> LeaChim (~LeaChim@xelix.net) has joined this channel.
1312‎[05:02] ‎<‎geekosaur‎>‎ but this is one of those places where I'd argue StateT is not the right solution specifically because it treats both equally. here, you likely want an API based not on structure but on function
1313‎[05:03] <-- HMPerson1 (~HMPerson1@128.211.64.90) has left this server (Remote host closed the connection).
1314‎[05:03] --> shafox (~pbehera@125.18.28.214) has joined this channel.
1315‎[05:03] ‎<‎geekosaur‎>‎ similar to how you might use a generic type variable when something is naturally very polymorphic, but for specific tasks you may want to use a more specific name to help keep things straight
1316‎[05:03] ‎<‎geekosaur‎>‎ or likewise for value level bindings
1317‎[05:03] --> HMPerson1 (~HMPerson1@128.211.64.90) has joined this channel.
1318‎[05:04] <-- chao-tic (~chao@218.101.54.122) has left this server (Ping timeout: 260 seconds).
1319‎[05:04] <-- mson (uid110608@gateway/web/irccloud.com/x-zgolvldjbcocdsoi) has left this server (Quit: Connection closed for inactivity).
1320‎[05:05] --> r4d1x1 (~r4d1x@185.38.150.118) has joined this channel.
1321‎[05:06] <-- buglebudabey (~buglebuda@fl-184-5-211-227.dhcp.embarqhsd.net) has left this server (Quit: Textual IRC Client: www.textualapp.com).
1322‎[05:07] --> Xion_ (~kaon@host109-148-117-160.range109-148.btcentralplus.com) has joined this channel.
1323‎[05:08] --> iqubic (~iqubic@2601:602:8a00:1bd7:2539:2f19:1bac:69c0) has joined this channel.
1324‎[05:09] --> felixsch1 (~Felix@p5DC179EE.dip0.t-ipconnect.de) has joined this channel.
1325‎[05:09] --> chao-tic (~chao@218.101.54.122) has joined this channel.
1326‎[05:09] <-- louispan (~textual@203.38.203.134) has left this server (Quit: louispan).
1327‎[05:11] <-- Xion_ (~kaon@host109-148-117-160.range109-148.btcentralplus.com) has left this server (Ping timeout: 240 seconds).
1328‎[05:12] <-- felixsch__ (~Felix@p5DC17944.dip0.t-ipconnect.de) has left this server (Ping timeout: 255 seconds).
1329‎[05:13] <-- andyhuzhill (~Thunderbi@14.23.45.178) has left this server (Ping timeout: 240 seconds).
1330‎[05:13] <-- toblorone (~toblorone@172.58.91.119) has left this server (Read error: Connection reset by peer).
1331‎[05:13] --> KoH (~kane@p200300DE5BE2DF006CC362BA6E013B06.dip0.t-ipconnect.de) has joined this channel.
1332‎[05:13] --> andyhuzhill (~Thunderbi@14.23.45.178) has joined this channel.
1333‎[05:13] --> toblorone (~toblorone@172.58.91.119) has joined this channel.
1334‎[05:14] ‎<‎slack1256‎>‎ I see. Well is not too bad
1335‎[05:14] <-- slack1256 (~slack1256@181-163-49-76.baf.movistar.cl) has left this server (Remote host closed the connection).
1336‎[05:15] <-- eikke (~nicolast@unaffiliated/eikke) has left this server (Remote host closed the connection).
1337‎[05:16] <-- schoppenhauer (~schoppenh@unaffiliated/schoppenhauer) has left this server (Ping timeout: 240 seconds).
1338‎[05:18] --> andyhuzhill1 (~Thunderbi@14.23.45.178) has joined this channel.
1339‎[05:18] <-- mj_k (~mj_k@59.10.109.21) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1340‎[05:18] <-- joomy (~joomy@129.133.190.254) has left this server (Quit: joomy).
1341‎[05:19] --> schoppenhauer (~schoppenh@unaffiliated/schoppenhauer) has joined this channel.
1342‎[05:19] --> ianandrich (~ianandric@c-73-223-61-224.hsd1.ca.comcast.net) has joined this channel.
1343‎[05:19] <-- andyhuzhill (~Thunderbi@14.23.45.178) has left this server (Ping timeout: 240 seconds).
1344‎[05:19] *** andyhuzhill1 is now known as andyhuzhill.
1345‎[05:19] --> centril (~centril@78-71-110-26-no250.tbcn.telia.com) has joined this channel.
1346‎[05:20] ‎* ‎hackagebot‎‎ tomlcheck 0.1.0.0 – Command-line tool to check syntax of TOML files – https://hackage.haskell.org/package/tomlcheck
1347‎[05:20] --> louispan (~textual@203.38.203.134) has joined this channel.
1348‎[05:21] <-- shafox (~pbehera@125.18.28.214) has left this server (Ping timeout: 255 seconds).
1349‎[05:23] --> shafox (~pbehera@125.18.28.214) has joined this channel.
1350‎[05:25] <-- Associat0r (~Associat0@unaffiliated/associat0r) has left this server (Ping timeout: 240 seconds).
1351‎[05:26] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1352‎[05:26] --> ccomb (~ccomb@5.176.54.216) has joined this channel.
1353‎[05:27] --> jay__ (~jay@117.246.76.221) has joined this channel.
1354‎[05:27] --> mozkrilla (~mozkrilla@98.206.40.238) has joined this channel.
1355‎[05:27] <-- mozkrilla (~mozkrilla@98.206.40.238) has left this server (Max SendQ exceeded).
1356‎[05:28] <-- xkapastel (uid17782@gateway/web/irccloud.com/x-hfscndnmzuvctpwg) has left this server (Quit: Connection closed for inactivity).
1357‎[05:28] --> mozkrilla (~mozkrilla@98.206.40.238) has joined this channel.
1358‎[05:29] --> coot____________ (~coot@188.146.96.109.nat.umts.dynamic.t-mobile.pl) has joined this channel.
1359‎[05:29] <-- funmler (464dab23@gateway/web/freenode/ip.70.77.171.35) has left this server (Quit: Page closed).
1360‎[05:31] <-- thunderrd__ (~thunderrd@110.77.238.124) has left this server (Quit: Leaving).
1361‎[05:31] --> thunderrd (~thunderrd@110.77.238.124) has joined this channel.
1362‎[05:32] <-- coot____________ (~coot@188.146.96.109.nat.umts.dynamic.t-mobile.pl) has left this server (Client Quit).
1363‎[05:32] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
1364‎[05:32] <-- ghost83 (~ghost@S01069050ca3215a3.vf.shawcable.net) has left this server (Remote host closed the connection).
1365‎[05:32] --> otto_s (~user@xd9331596.dyn.telefonica.de) has joined this channel.
1366‎[05:33] <-- ackpacket (~ackpacket@unaffiliated/ackpacket) has left this server (Ping timeout: 255 seconds).
1367‎[05:33] <-- ccomb (~ccomb@5.176.54.216) has left this server (Ping timeout: 240 seconds).
1368‎[05:33] <-- andyhuzhill (~Thunderbi@14.23.45.178) has left this server (Ping timeout: 258 seconds).
1369‎[05:35] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
1370‎[05:36] <-- otto_s_ (~user@xd93316bd.dyn.telefonica.de) has left this server (Ping timeout: 240 seconds).
1371‎[05:36] --> andyhuzhill (~Thunderbi@14.23.45.178) has joined this channel.
1372‎[05:37] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 240 seconds).
1373‎[05:38] --> Camm (~camm@186.69.141.31) has joined this channel.
1374‎[05:38] ‎<‎Camm‎>‎ How to handle `*** Exception: divide by zero`
1375‎[05:38] ‎<‎Camm‎>‎ ?
1376‎[05:39] ‎<‎pacak‎>‎ Don't divide by zero...
1377‎[05:40] ‎<‎pacak‎>‎ @hoogle DivideByZero
1378‎[05:40] ‎<‎lambdabot‎>‎ Control.Exception DivideByZero :: ArithException
1379‎[05:40] ‎<‎lambdabot‎>‎ Control.Exception.Base DivideByZero :: ArithException
1380‎[05:40] ‎<‎lambdabot‎>‎ Network.Google.Sheets DivideByZero :: ErrorValueType
1381‎[05:40] ‎<‎pacak‎>‎ :t catch
1382‎[05:40] ‎<‎lambdabot‎>‎ Exception e => IO a -> (e -> IO a) -> IO a
1383‎[05:40] ‎<‎Camm‎>‎ LOL. I mean using `Control.Exception.Base`. I see functions that are attached to `IO` like http://hackage.haskell.org/package/base-4.10.0.0/docs/Control-Exception-Base.html#v:try
1384‎[05:41] ‎<‎monochrom‎>‎ Yes, you can only catch exceptions in IO.
1385‎[05:41] ‎<‎Camm‎>‎ `div 1 0` is not `IO`
1386‎[05:41] ‎<‎Camm‎>‎ :/
1387‎[05:41] --> qwertydvorak (~qwertydvo@c-73-93-158-80.hsd1.ca.comcast.net) has joined this channel.
1388‎[05:41] ‎<‎pacak‎>‎ You can't catch exceptions in pure code.
1389‎[05:41] ‎<‎monochrom‎>‎ Also, if you don't understand lazy evaluation, you won't even know where to put the catching code.
1390‎[05:41] --> joomy (~joomy@c-73-142-151-191.hsd1.ct.comcast.net) has joined this channel.
1391‎[05:41] ‎<‎monochrom‎>‎ So you are really better off not letting it happen in the first place.
1392‎[05:42] ‎<‎pacak‎>‎ AKA don't divide by zero.
1393‎[05:42] ‎<‎monochrom‎>‎ Also, "LOL" is not going to change what we tell you.
1394‎[05:42] <-- louispan (~textual@203.38.203.134) has left this server (Quit: louispan).
1395‎[05:43] ‎<‎pacak‎>‎ monochrom: It sure can :)
1396‎[05:43] --> lambda-11235 (~lambda-11@campus-096-246.ucdavis.edu) has joined this channel.
1397‎[05:43] --> serendependy (~christoph@76.78.91.11) has joined this channel.
1398‎[05:44] <-- shafox (~pbehera@125.18.28.214) has left this server (Quit: shafox).
1399‎[05:46] ‎<‎Camm‎>‎ Ok, thank you. The explanation was good. I'm sorry if the question was silly.
1400‎[05:47] ‎<‎pacak‎>‎ > 1 / (0 :: Double)
1401‎[05:47] ‎<‎lambdabot‎>‎ Infinity
1402‎[05:47] ‎<‎pacak‎>‎ Camm: This might also work.
1403‎[05:47] <-- augur (~augur@noisebridge130.static.monkeybrains.net) has left this server (Remote host closed the connection).
1404‎[05:49] --> diegoksp (~diegoksp@190.153.194.178) has joined this channel.
1405‎[05:53] <-- howdoi (uid224@gateway/web/irccloud.com/x-yiheiokkxvjanfmn) has left this server (Quit: Connection closed for inactivity).
1406‎[05:54] <-- crobbins (~crobbins@2602:30a:c08e:19e0:aaf7:790b:6148:469e) has left this server (Ping timeout: 255 seconds).
1407‎[05:55] --> mj_k (~mj_k@59.10.109.21) has joined this channel.
1408‎[05:56] --> Big_G (~Big_G@71-35-178-5.tukw.qwest.net) has joined this channel.
1409‎[05:57] --> soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has joined this channel.
1410‎[06:01] --> shangxiao (~shangxiao@103.224.86.126) has joined this channel.
1411‎[06:01] <-- Camm (~camm@186.69.141.31) has left this channel.
1412‎[06:02] <-- soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has left this server (Ping timeout: 240 seconds).
1413‎[06:02] <-- jay__ (~jay@117.246.76.221) has left this server (Ping timeout: 248 seconds).
1414‎[06:06] <-- boj (~bojo@pw126199010085.18.panda-world.ne.jp) has left this server (Ping timeout: 258 seconds).
1415‎[06:06] <-- chao-tic (~chao@218.101.54.122) has left this server (Ping timeout: 258 seconds).
1416‎[06:07] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
1417‎[06:07] --> jay__ (~jay@117.246.44.221) has joined this channel.
1418‎[06:09] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
1419‎[06:10] <-- mizu_no_oto_work (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1420‎[06:10] --> mizu_no_oto_work (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has joined this channel.
1421‎[06:10] ‎* ‎hackagebot‎‎ papa-base-implement 0.3.1 – Useful base functions reimplemented – https://hackage.haskell.org/package/papa-base-implement
1422‎[06:10] <-- mizu_no_oto_work (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has left this server (Client Quit).
1423‎[06:11] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 248 seconds).
1424‎[06:12] --> mizu_no_oto_work (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has joined this channel.
1425‎[06:12] --> jgertm (~jgertm@104.194.27.26) has joined this channel.
1426‎[06:13] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Ping timeout: 240 seconds).
1427‎[06:14] <-- joomy (~joomy@c-73-142-151-191.hsd1.ct.comcast.net) has left this server (Quit: joomy).
1428‎[06:14] <-- deba5e12 (~oblivia@213.152.161.219) has left this server (Ping timeout: 255 seconds).
1429‎[06:15] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
1430‎[06:16] <-- mizu_no_oto_work (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has left this server (Ping timeout: 240 seconds).
1431‎[06:17] --> hucksy (~hucksy@p5B3C5999.dip0.t-ipconnect.de) has joined this channel.
1432‎[06:17] <-- pera (~pera@unaffiliated/pera) has left this server (Ping timeout: 240 seconds).
1433‎[06:18] --> shafox (~pbehera@125.18.28.214) has joined this channel.
1434‎[06:19] --> chao-tic (~chao@218.101.54.122) has joined this channel.
1435‎[06:19] <-- roi_du_silence (~dragon@43-226-6-154.static.rise.as) has left this server (Ping timeout: 248 seconds).
1436‎[06:22] --> vtomole (81bafb04@gateway/web/freenode/ip.129.186.251.4) has joined this channel.
1437‎[06:22] <-- fragamus (~textual@2602:306:3a1a:87a0:746e:ed75:d85:aaa9) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1438‎[06:22] <-- chao-tic (~chao@218.101.54.122) has left this server (Client Quit).
1439‎[06:23] <-- moet (~moet@d-173-44-92-193.cpe.metrocast.net) has left this server (Ping timeout: 260 seconds).
1440‎[06:23] --> befuddled (~befuddled@106.51.111.128) has joined this channel.
1441‎[06:24] --> iqubic_ (~iqubic@c-24-17-229-56.hsd1.wa.comcast.net) has joined this channel.
1442‎[06:24] <-- zero_byte (~zer0@ip-89-103-110-138.net.upcbroadband.cz) has left this server (Ping timeout: 258 seconds).
1443‎[06:24] <-- Apocalisp (~textual@172.110.61.179) has left this server (Quit: Computer has gone to sleep.).
1444‎[06:24] --> acrid-ned-hammoc (~floe-catf@195.158.103.119) has joined this channel.
1445‎[06:25] --> moet (~moet@d-173-44-92-193.cpe.metrocast.net) has joined this channel.
1446‎[06:25] <-- Tops2 (~Tobias@dyndsl-095-033-103-125.ewe-ip-backbone.de) has left this server (Read error: Connection reset by peer).
1447‎[06:25] <-- gehmehgeh (~ircuser1@gateway/tor-sasl/gehmehgeh) has left this server (Remote host closed the connection).
1448‎[06:26] --> robotroll (~robotroll@unaffiliated/robotroll) has joined this channel.
1449‎[06:26] <-- iqubic (~iqubic@2601:602:8a00:1bd7:2539:2f19:1bac:69c0) has left this server (Ping timeout: 258 seconds).
1450‎[06:27] <-- Wizek (uid191769@gateway/web/irccloud.com/x-woghkunhcslwlohw) has left this server (Quit: Connection closed for inactivity).
1451‎[06:28] <-- jgertm (~jgertm@104.194.27.26) has left this server (Ping timeout: 240 seconds).
1452‎[06:28] --> emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has joined this channel.
1453‎[06:29] <-- acrid-ned-hammoc (~floe-catf@195.158.103.119) has left this server (Ping timeout: 260 seconds).
1454‎[06:30] <-- cpennington (~cpenningt@pool-108-7-186-67.bstnma.fios.verizon.net) has left this server (Ping timeout: 255 seconds).
1455‎[06:30] ‎* ‎hackagebot‎‎ servant-static-th 0.1.0.6 – Embed a directory of static files in your Servant server – https://hackage.haskell.org/package/servant-static-th
1456‎[06:30] --> hexfive (~beknowly@50.35.82.88) has joined this channel.
1457‎[06:32] <-- shafox (~pbehera@125.18.28.214) has left this server (Quit: shafox).
1458‎[06:32] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1459‎[06:33] <-- emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has left this server (Ping timeout: 260 seconds).
1460‎[06:36] --> revprez (~revprez@pool-108-7-200-87.bstnma.fios.verizon.net) has joined this channel.
1461‎[06:37] --> gehmehgeh (~ircuser1@gateway/tor-sasl/gehmehgeh) has joined this channel.
1462‎[06:39] <-- Guest6344 (~BlueRaven@8-22-14-133.utopiafiber.net) has left this server (Ping timeout: 260 seconds).
1463‎[06:39] ‎<‎dmwit‎>‎ :t catch
1464‎[06:39] ‎<‎lambdabot‎>‎ Exception e => IO a -> (e -> IO a) -> IO a
1465‎[06:40] <-- hexfive (~beknowly@50.35.82.88) has left this server (Quit: WeeChat 1.9).
1466‎[06:41] --> Tops2 (~Tobias@dyndsl-095-033-103-125.ewe-ip-backbone.de) has joined this channel.
1467‎[06:41] ‎<‎dmwit‎>‎ % catch (Just <$> evaluate (1 `div` 0)) (\(SomeException e) -> return Nothing)
1468‎[06:41] ‎<‎yahb‎>‎ dmwit: Nothing
1469‎[06:42] --> brynedwardz (~bryn@109.76.88.184) has joined this channel.
1470‎[06:42] <-- brynedwards (~bryn@109.76.118.16) has left this server (Disconnected by services).
1471‎[06:42] *** brynedwardz is now known as brynedwards.
1472‎[06:42] ‎<‎dmwit‎>‎ % catch (evaluate (1 `div` 0)) (const (return 3) :: Control.Exception.ArithException -> IO Int)
1473‎[06:42] ‎<‎yahb‎>‎ dmwit: 3
1474‎[06:42] ‎<‎dmwit‎>‎ yey
1475‎[06:42] <-- jay__ (~jay@117.246.44.221) has left this server (Quit: jay__).
1476‎[06:44] <-- HMPerson1 (~HMPerson1@128.211.64.90) has left this server (Ping timeout: 240 seconds).
1477‎[06:46] <-- mzf (~mzf@unaffiliated/mzf) has left this server (Read error: Connection reset by peer).
1478‎[06:46] --> mzf (~mzf@unaffiliated/mzf) has joined this channel.
1479‎[06:46] ‎* ‎hackagebot‎‎ papa-base 0.3.1 – Prelude with only useful functions – https://hackage.haskell.org/package/papa-base
1480‎[06:47] --> jhrcek (jhrcek@nat/redhat/x-gmmcocbuzyifnofj) has joined this channel.
1481‎[06:48] --> cpennington (~cpenningt@pool-108-7-186-67.bstnma.fios.verizon.net) has joined this channel.
1482‎[06:50] --> shafox (~pbehera@125.18.28.214) has joined this channel.
1483‎[06:50] ‎* ‎hackagebot‎‎ papa-bifunctors 0.3.1, papa-bifunctors-export 0.3.1, papa-lens-implement 0.3.1
1484‎[06:50] ‎* ‎hackagebot‎‎ → https://hackage.haskell.org/packages/recent
1485‎[06:51] ‎<‎tippenein‎>‎ I'm confused about an error from hspec https://hastebin.com/adurenegej.hs
1486‎[06:53] ‎<‎tippenein‎>‎ It looks like I'm not fully applying something? I guess I'm not sure how to interpret Arg (m0 ())
1487‎[06:54] ‎* ‎hackagebot‎‎ papa-lens-export 0.3.1, papa-semigroupoids-export 0.3.1, papa-semigroupoids-implement 0.3.1
1488‎[06:54] ‎* ‎hackagebot‎‎ → https://hackage.haskell.org/packages/recent
1489‎[06:55] --> Nd-69-M (~nend@109.72.55.120) has joined this channel.
1490‎[06:55] <-- befuddled (~befuddled@106.51.111.128) has left this server (Quit: Computer has gone to sleep.).
1491‎[06:56] <-- cpennington (~cpenningt@pool-108-7-186-67.bstnma.fios.verizon.net) has left this server (Ping timeout: 260 seconds).
1492‎[06:56] ‎* ‎hackagebot‎‎ papa-x 0.3.1, papa-x-export 0.3.1, papa-x-implement 0.3.1
1493‎[06:56] ‎* ‎hackagebot‎‎ → https://hackage.haskell.org/packages/recent
1494‎[06:56] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 255 seconds).
1495‎[06:57] --> fvr (~user@45.116.2.210) has joined this channel.
1496‎[06:58] ‎<‎fvr‎>‎ How does tasty framework handle resources when running in parallel? Does it use the same resource, or creates one for each thread?
1497‎[06:59] <-- moet (~moet@d-173-44-92-193.cpe.metrocast.net) has left this server (Ping timeout: 260 seconds).
1498‎[06:59] --> harfangk (~quassel@222.110.160.66) has joined this channel.
1499‎[06:59] ‎* ‎hackagebot‎‎ papa 0.3.1 – Reasonable default import – https://hackage.haskell.org/package/papa
1500‎[06:59] --> xkapastel (uid17782@gateway/web/irccloud.com/x-jzgsdvycwjtspqly) has joined this channel.
1501‎[07:00] --> grc (2d7402d2@gateway/web/freenode/ip.45.116.2.210) has joined this channel.
1502‎[07:01] <-- grc (2d7402d2@gateway/web/freenode/ip.45.116.2.210) has left this server (Client Quit).
1503‎[07:01] --> eruditass (uid248673@gateway/web/irccloud.com/x-yyvdtvhreakutxss) has joined this channel.
1504‎[07:02] --> sqooq (~sqooq@96-58-47-10.res.bhn.net) has joined this channel.
1505‎[07:02] ‎<‎sqooq‎>‎ agh I can't wrap my head around this function I need to write
1506‎[07:03] <-- Raynes (~macro@unaffiliated/raynes) has left this server (Quit: ZNC - http://znc.sourceforge.net).
1507‎[07:03] --> brett (~mozkrilla@98.206.40.238) has joined this channel.
1508‎[07:03] --> louispan (~textual@203.38.203.134) has joined this channel.
1509‎[07:04] --> osa1 (~omer@212.252.142.154) has joined this channel.
1510‎[07:04] <-- osa1 (~omer@212.252.142.154) has left this server (Changing host).
1511‎[07:04] --> osa1 (~omer@haskell/developer/osa1) has joined this channel.
1512‎[07:04] ‎<‎erisco‎>‎ make it smaller, then
1513‎[07:04] <-- poliquin__ (~poliquin@96-86-180-189-static.hfc.comcastbusiness.net) has left this server (Quit: Ex-Chat).
1514‎[07:04] <-- poliquin_ (~poliquin@96-86-180-189-static.hfc.comcastbusiness.net) has left this server (Quit: Ex-Chat).
1515‎[07:05] <-- Big_G (~Big_G@71-35-178-5.tukw.qwest.net) has left this server (Read error: Connection reset by peer).
1516‎[07:05] ‎<‎_sras_‎>‎ Is there any way to force Stack to download the package index from a particular url (want to use a url that is cached locally).
1517‎[07:05] ‎<‎sqooq‎>‎ erisco: true
1518‎[07:05] --> poliquin_ (~poliquin@96-86-180-189-static.hfc.comcastbusiness.net) has joined this channel.
1519‎[07:05] <-- forgottenone (~forgotten@176.40.61.88) has left this server (Read error: Connection reset by peer).
1520‎[07:05] <-- mozkrilla (~mozkrilla@98.206.40.238) has left this server (Ping timeout: 255 seconds).
1521‎[07:05] ‎<‎sqooq‎>‎ I can't even like type what it is
1522‎[07:05] --> poliquin__ (~poliquin@96-86-180-189-static.hfc.comcastbusiness.net) has joined this channel.
1523‎[07:05] ‎<‎sqooq‎>‎ It's so simple in my head, I can do it manually but like
1524‎[07:06] --> forgottenone (~forgotten@176.40.61.88) has joined this channel.
1525‎[07:06] ‎<‎sqooq‎>‎ it rests on future results
1526‎[07:06] ‎<‎nisstyre‎>‎ sqooq: that's what undefined is for
1527‎[07:06] ‎<‎sqooq‎>‎ i need to check if the result of some math, is closer than the last result
1528‎[07:06] --> cur8or (~cur8or@105.18.business-adsl.cybersmart.co.za) has joined this channel.
1529‎[07:06] ‎<‎sqooq‎>‎ closer to the last result to some number
1530‎[07:06] ‎<‎nisstyre‎>‎ what's your base case?
1531‎[07:06] ‎<‎sqooq‎>‎ closer than**
1532‎[07:07] ‎<‎nisstyre‎>‎ what is the smallest case as well
1533‎[07:07] ‎<‎sqooq‎>‎ I guess if it's greater than last result it just returns the result of the operation
1534‎[07:07] <-- shafox (~pbehera@125.18.28.214) has left this server (Ping timeout: 248 seconds).
1535‎[07:07] ‎<‎nisstyre‎>‎ you could always expand small cases by hand
1536‎[07:07] --> path[l] (~vsi@c-73-158-39-31.hsd1.ca.comcast.net) has joined this channel.
1537‎[07:07] ‎<‎nisstyre‎>‎ to see the structure of it
1538‎[07:07] --> Xion_ (~kaon@host109-148-117-160.range109-148.btcentralplus.com) has joined this channel.
1539‎[07:07] ‎<‎sqooq‎>‎ agh wait that won't work either, what I just said
1540‎[07:08] ‎<‎sqooq‎>‎ I'm kind of intoxicated
1541‎[07:08] ‎<‎sqooq‎>‎ maybe I should wait till tomorrow
1542‎[07:08] ‎<‎nisstyre‎>‎ you could also try using wolfram alpha to generate it :p
1543‎[07:08] ‎<‎nisstyre‎>‎ if you can express it as a recurrence relation
1544‎[07:08] ‎<‎sqooq‎>‎ I'm trying to find the closest number of a math formula, to an integer
1545‎[07:09] ‎<‎sqooq‎>‎ so the target may be 3, the first result may be 1, the second 2.5, the third 3.1, so you know the third is the closest
1546‎[07:09] ‎<‎nisstyre‎>‎ I'm sorry I don't really get it
1547‎[07:09] ‎<‎sqooq‎>‎ they always increase
1548‎[07:09] ‎<‎nisstyre‎>‎ oh
1549‎[07:09] ‎<‎nisstyre‎>‎ so you're doing an optimization problem
1550‎[07:09] ‎<‎sqooq‎>‎ but like if the third was 3.6
1551‎[07:09] <-- vtomole (81bafb04@gateway/web/freenode/ip.129.186.251.4) has left this server (Ping timeout: 260 seconds).
1552‎[07:09] ‎<‎sqooq‎>‎ then it should choose 2.5 instead
1553‎[07:09] ‎<‎sqooq‎>‎ because that's closer
1554‎[07:09] --> shafox (~pbehera@125.18.28.214) has joined this channel.
1555‎[07:09] ‎<‎sqooq‎>‎ nisstyre, yeah i guess so
1556‎[07:09] ‎<‎nisstyre‎>‎ this sounds like something you would use calculus for
1557‎[07:09] ‎<‎erisco‎>‎ you can use maximumBy but it will not short-circuit
1558‎[07:10] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
1559‎[07:10] --> ghost83 (~ghost@192.96.203.71) has joined this channel.
1560‎[07:10] ‎<‎nisstyre‎>‎ https://en.wikipedia.org/wiki/Gradient_descent
1561‎[07:11] ‎<‎erisco‎>‎ or minimumBy
1562‎[07:12] ‎<‎nisstyre‎>‎ oh if you just have a list of numbers and you want to find the closest one then yeah use minimumBy or maximumBy
1563‎[07:12] ‎<‎nisstyre‎>‎ I thought it was more general than that
1564‎[07:12] <-- Xion_ (~kaon@host109-148-117-160.range109-148.btcentralplus.com) has left this server (Ping timeout: 240 seconds).
1565‎[07:12] ‎<‎sqooq‎>‎ I don't think maximumBy is right
1566‎[07:12] ‎<‎sqooq‎>‎ it's not maximum number, it's closest number
1567‎[07:12] ‎<‎nisstyre‎>‎ you can approximate it with the Rational type maybe too
1568‎[07:13] ‎<‎sqooq‎>‎ also i can in fact make a list first, but it will be infinite
1569‎[07:13] ‎<‎sqooq‎>‎ a list of the "results" that need to be checked against the desired number
1570‎[07:13] ‎<‎nisstyre‎>‎ sqooq: actually I have some code that might do exactly what you want
1571‎[07:13] ‎<‎erisco‎>‎ minimumBy for the smallest difference
1572‎[07:14] ‎<‎sqooq‎>‎ hmm maybe I should learn how they work first
1573‎[07:14] ‎<‎nshepperd_‎>‎ The answer will be either the first number in the list that is greater than 3 or the one just before it
1574‎[07:14] <-- louispan (~textual@203.38.203.134) has left this server (Quit: louispan).
1575‎[07:14] ‎<‎sqooq‎>‎ nshepperd_, that is true
1576‎[07:14] ‎<‎nisstyre‎>‎ sqooq: you want a Float that is close but not quite equal to an Integer right?
1577‎[07:14] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Ping timeout: 248 seconds).
1578‎[07:14] ‎<‎nshepperd_‎>‎ So, get those two numbers first, then return whichever of those it's closest
1579‎[07:15] ‎<‎nshepperd_‎>‎ (minimumBy won't work on an infinite list)
1580‎[07:15] <-- felix1 (~felixschl@14.1.45.186) has left this server (Quit: WeeChat 1.4).
1581‎[07:16] --> sword865 (uid208942@gateway/web/irccloud.com/x-vgfveehbleinppxx) has joined this channel.
1582‎[07:17] ‎<‎sqooq‎>‎ nisstyre, yes
1583‎[07:17] ‎<‎sqooq‎>‎ by doing 2**(num/constant), where num increments evertime
1584‎[07:17] ‎<‎nisstyre‎>‎ sqooq: how do you define "close enough" though?
1585‎[07:17] ‎<‎sqooq‎>‎ or that can be thought of as the list of numbers to check with
1586‎[07:18] ‎<‎sqooq‎>‎ but it's infinite of course
1587‎[07:18] ‎<‎sqooq‎>‎ nisstyre: doesn't matter if it's way off, just whichever is closest
1588‎[07:18] ‎<‎nisstyre‎>‎ sqooq: this is super old code but it still works https://gist.github.com/nisstyre56/3909034
1589‎[07:18] ‎<‎nisstyre‎>‎ it generates something called the stern-brocot tree
1590‎[07:18] <-- Shatnerz (~Shatnerz@2601:151:c302:ed90:9fd:1340:d8de:19cc) has left this server (Ping timeout: 258 seconds).
1591‎[07:18] ‎<‎nisstyre‎>‎ which is an infinite binary search tree of all rational numbers
1592‎[07:20] --> simukis (~simukis_@213.197.144.250) has joined this channel.
1593‎[07:20] ‎<‎nisstyre‎>‎ so you could search the tree
1594‎[07:20] ‎<‎nisstyre‎>‎ and then stop when you get close enough
1595‎[07:20] ‎<‎nisstyre‎>‎ you just do normal binary search
1596‎[07:20] --> augur (~augur@208.70.31.232) has joined this channel.
1597‎[07:21] ‎<‎nshepperd_‎>‎ head . dropWhile ((<3) . snd) $ zip xs (tail xs)
1598‎[07:21] <-- SegFaultAX (SegFaultAX@unaffiliated/segfaultax) has left this server (Quit: ZNC - http://znc.in).
1599‎[07:21] <-- DTZUZO (~DTZUZO@S0106bcd16584b0aa.vs.shawcable.net) has left this server (Ping timeout: 248 seconds).
1600‎[07:22] --> mrkgnao (~mrkgnao@115.187.44.103) has joined this channel.
1601‎[07:22] ‎<‎nshepperd_‎>‎ ^^ this returns two numbers, one of which is the closest to 3. On the assumption that the list is monotonic increasing
1602‎[07:22] ‎<‎nisstyre‎>‎ the tree search may be more efficient
1603‎[07:22] ‎<‎nisstyre‎>‎ you can also use Farey sequences
1604‎[07:23] <-- mnoonan_ (~mnoonan@cpe-69-201-46-148.twcny.res.rr.com) has left this server (Quit: mnoonan_).
1605‎[07:23] --> DTZUZO (~DTZUZO@S0106bcd16584b0aa.vs.shawcable.net) has joined this channel.
1606‎[07:23] ‎<‎erisco‎>‎ that fails when you only have one number
1607‎[07:24] ‎<‎nshepperd_‎>‎ I leave the case length xs < 2 as an exercise for the reader
1608‎[07:24] <-- osa1 (~omer@haskell/developer/osa1) has left this server (Ping timeout: 248 seconds).
1609‎[07:24] ‎<‎sqooq‎>‎ this works
1610‎[07:24] ‎<‎sqooq‎>‎ 'minimumBy (comparing (\x -> abs(x-3))) [2**(n/12)|n<-[1..500]]
1611‎[07:24] ‎<‎sqooq‎>‎ '
1612‎[07:24] ‎<‎sqooq‎>‎ but it's finite
1613‎[07:25] ‎<‎erisco‎>‎ do we have a function for difference?
1614‎[07:25] <-- toblorone (~toblorone@172.58.91.119) has left this server (Read error: Connection reset by peer).
1615‎[07:25] ‎<‎nisstyre‎>‎ that's what I was trying to figure out
1616‎[07:25] ‎<‎nisstyre‎>‎ if you're looking long enough you'll eventually just get 3.0 for 3
1617‎[07:25] ‎<‎nisstyre‎>‎ or whatever
1618‎[07:26] --> toblorone (~toblorone@172.58.91.119) has joined this channel.
1619‎[07:26] ‎<‎nisstyre‎>‎ or 3.000000..1
1620‎[07:26] ‎<‎nshepperd_‎>‎ If you have a formula f indexed by an integer, you can also use binary search in the same way
1621‎[07:26] <-- eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Remote host closed the connection).
1622‎[07:26] <-- path[l] (~vsi@c-73-158-39-31.hsd1.ca.comcast.net) has left this server (Quit: path[l]).
1623‎[07:26] ‎<‎nisstyre‎>‎ nshepperd_: https://en.wikipedia.org/wiki/Stern%E2%80%93Brocot_tree
1624‎[07:26] ‎<‎nshepperd_‎>‎ nisstyre: I'm assuming that the sequence being searched in is fixed because of some properties required of the answer
1625‎[07:27] ‎<‎nshepperd_‎>‎ Ie. It has to be of form 2^(n/12) for whatever reason
1626‎[07:27] <-- toblorone (~toblorone@172.58.91.119) has left this server (Read error: Connection reset by peer).
1627‎[07:27] ‎<‎nshepperd_‎>‎ Not just an arbitrary rational
1628‎[07:27] ‎<‎nisstyre‎>‎ oh ok
1629‎[07:27] <-- araujo (~araujo@unaffiliated/araujo) has left this server (Read error: Connection reset by peer).
1630‎[07:27] ‎<‎nisstyre‎>‎ I am a bit confused about the requirements here
1631‎[07:27] ‎<‎nisstyre‎>‎ what's the actual use of this?
1632‎[07:27] --> toblorone (~toblorone@172.58.91.119) has joined this channel.
1633‎[07:28] --> araujo (~araujo@unaffiliated/araujo) has joined this channel.
1634‎[07:28] <-- sleffy (~sleffy@c-24-7-67-0.hsd1.ca.comcast.net) has left this server (Ping timeout: 248 seconds).
1635‎[07:28] ‎<‎sqooq‎>‎ it's for creating timbres that are consonant relative to some tuning
1636‎[07:28] <-- toblorone (~toblorone@172.58.91.119) has left this server (Read error: Connection reset by peer).
1637‎[07:29] --> emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has joined this channel.
1638‎[07:29] --> roi_du_silence (~dragon@43-226-6-156.static.rise.as) has joined this channel.
1639‎[07:29] --> alex`` (~alex@2a01cb000bb310000e31f98b4cdf4eae.ipv6.abo.wanadoo.fr) has joined this channel.
1640‎[07:29] ‎<‎nshepperd_‎>‎ search (\n -> f n >= 3) -- 'search' from the binary-search package, returns the first integer n such that f n is at least 3
1641‎[07:29] <-- augur (~augur@208.70.31.232) has left this server (Remote host closed the connection).
1642‎[07:30] ‎<‎nisstyre‎>‎ if you use stern brocot to approximate e for example, you get this as the process: [2.0,3.0,2.5,2.6666666666666665,2.75,2.7142857142857144,2.727272727272727,2.7222222222222223,2.72,2.71875]
1643‎[07:30] --> toblorone (~toblorone@172.58.91.119) has joined this channel.
1644‎[07:30] ‎<‎nshepperd_‎>‎ Then the answer is either f n or f (n-1), whichever is closer
1645‎[07:30] ‎<‎erisco‎>‎ I am going for \x -> head . last . groupBy (\a b -> a `diff` x < b `diff` x)
1646‎[07:30] ‎<‎erisco‎>‎ where diff a b | a < b = b - a | otherwise = a - b
1647‎[07:30] --> xtreak (~xtreak@182.73.135.26) has joined this channel.
1648‎[07:31] ‎<‎nshepperd_‎>‎ (where f is \n -> 2**(fromIntegral n / 12) in this case)
1649‎[07:31] ‎<‎erisco‎>‎ undefined for empty lists, as expected
1650‎[07:31] ‎<‎sqooq‎>‎ ok so
1651‎[07:31] --> augur (~augur@208.70.31.232) has joined this channel.
1652‎[07:32] ‎<‎sqooq‎>‎ i guess this is harder than it seems lmao
1653‎[07:32] ‎* ‎erisco‎‎ *shrugs*
1654‎[07:32] ‎<‎erisco‎>‎ you can steal mine
1655‎[07:32] ‎<‎sqooq‎>‎ does that work
1656‎[07:32] <-- al-damiri (uid142631@gateway/web/irccloud.com/x-jbrjzruafxnlrjwj) has left this server (Quit: Connection closed for inactivity).
1657‎[07:33] --> gnull (~io@93.92.207.220) has joined this channel.
1658‎[07:33] <-- emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has left this server (Ping timeout: 248 seconds).
1659‎[07:33] ‎<‎erisco‎>‎ it is undefined on infinite lists
1660‎[07:33] ‎<‎nshepperd_‎>‎ erisco: doesn't that solution fail for infinite lists again
1661‎[07:33] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
1662‎[07:34] ‎<‎erisco‎>‎ explicit recursion may be the most reasonable
1663‎[07:35] ‎<‎sqooq‎>‎ shoot
1664‎[07:35] ‎<‎sqooq‎>‎ k
1665‎[07:35] ‎<‎sqooq‎>‎ i'll see what I can do
1666‎[07:36] --> meandi_2 (~meandi_4@dyndsl-031-150-087-147.ewe-ip-backbone.de) has joined this channel.
1667‎[07:36] ‎<‎erisco‎>‎ what you have here is actually hill climbing
1668‎[07:37] ‎<‎sqooq‎>‎ should I go the infinite list route
1669‎[07:37] <-- guardianx (~pickle@lismor30.lnk.telstra.net) has left this server (Remote host closed the connection).
1670‎[07:37] ‎<‎sqooq‎>‎ or just build the increment directly into the function
1671‎[07:37] <-- athan (~athan@96-93-204-14-static.hfc.comcastbusiness.net) has left this server (Remote host closed the connection).
1672‎[07:37] --> guardianx (~pickle@lismor30.lnk.telstra.net) has joined this channel.
1673‎[07:38] --> fragamus (~textual@2602:306:3a1a:87a0:c010:90f6:a4e6:817a) has joined this channel.
1674‎[07:38] --> ThomasLocke (~ThomasLoc@mail.serverbox.dk) has joined this channel.
1675‎[07:38] <-- ThomasLocke (~ThomasLoc@mail.serverbox.dk) has left this server (Changing host).
1676‎[07:38] --> ThomasLocke (~ThomasLoc@pdpc/supporter/active/thomaslocke) has joined this channel.
1677‎[07:38] <-- simukis (~simukis_@213.197.144.250) has left this server (Read error: Connection reset by peer).
1678‎[07:38] --> joebetz (~Joseph_Be@c-73-176-149-193.hsd1.il.comcast.net) has joined this channel.
1679‎[07:38] ‎<‎erisco‎>‎ climb :: Ord a => NonEmpty a -> a
1680‎[07:38] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 255 seconds).
1681‎[07:38] --> Shatnerz (~Shatnerz@2601:151:c302:ed90:4116:1357:685b:2ad1) has joined this channel.
1682‎[07:39] --> simukis (~simukis_@213.197.144.250) has joined this channel.
1683‎[07:39] <-- mrkgnao (~mrkgnao@115.187.44.103) has left this server (Quit: WeeChat 1.9.1).
1684‎[07:39] <-- meandi (~meandi_4@dyndsl-178-142-086-056.ewe-ip-backbone.de) has left this server (Ping timeout: 246 seconds).
1685‎[07:40] --> mizu_no_oto_work (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has joined this channel.
1686‎[07:41] ‎<‎nshepperd_‎>‎ Is the answer likely to be close to the front of the list, such that binary search wouldn't be much faster?
1687‎[07:41] ‎<‎erisco‎>‎ first define climb using recursion to find the first peak, sqooq
1688‎[07:41] ‎<‎fvr‎>‎ t
1689‎[07:41] ‎<‎erisco‎>‎ then the answer to the rest of your problem will become evidently, or hopefully will
1690‎[07:41] <-- gnull (~io@93.92.207.220) has left this channel ("WeeChat 1.9.1").
1691‎[07:42] ‎<‎sqooq‎>‎ idk what you mean by first peak
1692‎[07:42] ‎<‎erisco‎>‎ are you familiar with hill climbing?
1693‎[07:43] <-- toblorone (~toblorone@172.58.91.119) has left this server (Read error: Connection reset by peer).
1694‎[07:43] <-- simukis (~simukis_@213.197.144.250) has left this server (Ping timeout: 255 seconds).
1695‎[07:43] --> toblorone (~toblorone@172.58.91.119) has joined this channel.
1696‎[07:43] ‎<‎sqooq‎>‎ nope :(
1697‎[07:43] ‎<‎erisco‎>‎ a better definition is probably climb :: Ord a => NonEmpty a -> ([a], a, [a])
1698‎[07:44] --> ackpacket (~ackpacket@unaffiliated/ackpacket) has joined this channel.
1699‎[07:44] <-- mizu_no_oto_work (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has left this server (Ping timeout: 240 seconds).
1700‎[07:45] ‎<‎erisco‎>‎ or climb :: Ord a => [a] -> ([a], [a]) for possibly empty lists
1701‎[07:45] --> tsaka__ (~torstein@84-52-234.108.3p.ntebredband.no) has joined this channel.
1702‎[07:45] --> takuan (~takuan@178-116-228-162.access.telenet.be) has joined this channel.
1703‎[07:45] <-- text1 (~safe@unaffiliated/safe) has left this server (Read error: Connection reset by peer).
1704‎[07:45] ‎<‎nshepperd_‎>‎ climb :: Ord a => (Integer -> a) -> Integer
1705‎[07:45] <-- ninedotnine (~dan@modemcable078.123-81-70.mc.videotron.ca) has left this server (Read error: Connection reset by peer).
1706‎[07:45] ‎<‎erisco‎>‎ *shrug* same thing
1707‎[07:46] ‎<‎sqooq‎>‎ So Integer is the number I'm checking against?
1708‎[07:46] <-- whitephoenix (~whitephoe@2600:100f:b014:e162:91a1:1de4:6982:faa8) has left this server (Read error: Connection reset by peer).
1709‎[07:46] ‎<‎nshepperd_‎>‎ Bonus: has an O(log n) solution if the peak is a global maximum
1710‎[07:46] --> mschristiansen (~mschristi@197.184.44.195) has joined this channel.
1711‎[07:46] --> ninedotnine (~dan@modemcable078.123-81-70.mc.videotron.ca) has joined this channel.
1712‎[07:46] --> shafox_ (~pbehera@125.18.28.214) has joined this channel.
1713‎[07:46] ‎<‎erisco‎>‎ climb :: Ord a => (Integer -> a) -> Integer -> (Integer, a) for giving a starting point, even
1714‎[07:46] <-- shafox (~pbehera@125.18.28.214) has left this server (Ping timeout: 258 seconds).
1715‎[07:46] *** shafox_ is now known as shafox.
1716‎[07:47] ‎<‎sqooq‎>‎ i'm confused
1717‎[07:47] ‎<‎sqooq‎>‎ what is climb doing
1718‎[07:47] ‎<‎erisco‎>‎ Wikipedia hill climbing
1719‎[07:47] ‎<‎sqooq‎>‎ I did
1720‎[07:47] ‎<‎sqooq‎>‎ I'm reading it, I kind of understand
1721‎[07:47] --> louispan (~textual@203.38.203.134) has joined this channel.
1722‎[07:47] ‎<‎sqooq‎>‎ I want to know the context of climb to my problem
1723‎[07:47] ‎<‎sqooq‎>‎ so this isn't the point that recursion comes in, is it
1724‎[07:48] ‎<‎erisco‎>‎ you pick any starting point, and you explore around that point
1725‎[07:48] ‎<‎erisco‎>‎ if you find a nearby point which is higher than the previous, you then assume this new point, and keep going
1726‎[07:48] ‎<‎erisco‎>‎ eventually you'll reach a local maxima, i.e. a peak, if there is one
1727‎[07:48] ‎<‎nshepperd_‎>‎ sqooq: you want to find the integer n such that 2^(n/12) is closest to your target, right
1728‎[07:49] ‎<‎nshepperd_‎>‎ Or some variation on that formula
1729‎[07:49] <-- toblorone (~toblorone@172.58.91.119) has left this server (Read error: Connection reset by peer).
1730‎[07:49] <-- dddddd (~dddddd@unaffiliated/dddddd) has left this server (Remote host closed the connection).
1731‎[07:49] ‎<‎erisco‎>‎ so, with the (Integer -> a) version, you start at some x and check x + 1 and x - 1
1732‎[07:49] --> toblorone (~toblorone@172.58.91.119) has joined this channel.
1733‎[07:49] ‎<‎sqooq‎>‎ nshepperd_, close. I want to find the number 2^(n/12) where n increments, closest to another integer m
1734‎[07:49] ‎<‎erisco‎>‎ if one is greater than x and the other is not, move to the greater point
1735‎[07:50] ‎<‎sqooq‎>‎ so I actually want the result
1736‎[07:50] ‎<‎sqooq‎>‎ basically
1737‎[07:50] ‎<‎erisco‎>‎ if both are greater, choose the greatest, and if they are the same, choose one arbitrarily
1738‎[07:50] ‎<‎erisco‎>‎ if they are all equivalent, stop
1739‎[07:50] ‎<‎erisco‎>‎ if both are less, stop
1740‎[07:50] ‎<‎sqooq‎>‎ What's the difference between the versions
1741‎[07:50] ‎<‎sqooq‎>‎ Caring about empty lists is pointless
1742‎[07:50] ‎<‎nisstyre‎>‎ sqooq: so 2**(19.065893/12) == 3.0080414
1743‎[07:50] ‎<‎sqooq‎>‎ and my list is ordered
1744‎[07:50] ‎<‎nisstyre‎>‎ would that be a valid solution
1745‎[07:51] ‎<‎nisstyre‎>‎ for 3
1746‎[07:51] ‎<‎sqooq‎>‎ no
1747‎[07:51] ‎<‎nshepperd_‎>‎ sqooq: ok, and you can easily get that is you know the right n
1748‎[07:51] <-- tsaka__ (~torstein@84-52-234.108.3p.ntebredband.no) has left this server (Quit: Konversation terminated!).
1749‎[07:51] ‎<‎sqooq‎>‎ n has to be an integer
1750‎[07:51] ‎<‎nisstyre‎>‎ why?
1751‎[07:51] ‎<‎erisco‎>‎ Integer -> a is similar to [a]
1752‎[07:51] ‎<‎nisstyre‎>‎ ah ok
1753‎[07:51] ‎<‎nisstyre‎>‎ that's harder
1754‎[07:51] ‎<‎nisstyre‎>‎ I forgot
1755‎[07:51] --> tsaka__ (~torstein@84-52-234.108.3p.ntebredband.no) has joined this channel.
1756‎[07:51] <-- shangxiao (~shangxiao@103.224.86.126) has left this server (Ping timeout: 248 seconds).
1757‎[07:52] ‎<‎sqooq‎>‎ erisco: ok erisco, thanks I'm going to try
1758‎[07:52] <-- Mon_Ouie (~Mon_Ouie@subtle/user/MonOuie) has left this server (Ping timeout: 248 seconds).
1759‎[07:53] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
1760‎[07:53] --> JappleAck (~unclechu@64.120.50.125) has joined this channel.
1761‎[07:53] ‎<‎erisco‎>‎ you can keep going if they are all equivalent, biased in one direction, if you wish, it depends
1762‎[07:53] <-- Destol (~Destol@108.63.112.87) has left this server (Quit: leaving).
1763‎[07:53] ‎<‎sqooq‎>‎ i only evaluate at the end i'm guessing?
1764‎[07:54] <-- ghost83 (~ghost@192.96.203.71) has left this server (Remote host closed the connection).
1765‎[07:55] <-- lambda-11235 (~lambda-11@campus-096-246.ucdavis.edu) has left this server (Ping timeout: 248 seconds).
1766‎[07:56] <-- cur8or (~cur8or@105.18.business-adsl.cybersmart.co.za) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1767‎[07:56] ‎<‎erisco‎>‎ if you know the approximate real solution, then you can just test the integers that bound it
1768‎[07:56] --> ghost83 (~ghost@209.58.142.157) has joined this channel.
1769‎[07:58] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 258 seconds).
1770‎[07:59] ‎<‎erisco‎>‎ and if you need to find the approximate real solution, there are several numerical methods for that
1771‎[07:59] <-- augur (~augur@208.70.31.232) has left this server (Quit: Leaving...).
1772‎[07:59] ‎<‎erisco‎>‎ you can change it into a problem of finding roots
1773‎[07:59] --> simukis_ (~simukis_@md-188-69-197-127.omni.lt) has joined this channel.
1774‎[08:00] <-- r4d1x1 (~r4d1x@185.38.150.118) has left this server.
1775‎[08:00] ‎<‎nshepperd_‎>‎ True. You can just solve 2^(x/12) for *real* x then the answer is either n = floor x or ceiling x
1776‎[08:00] ‎<‎nshepperd_‎>‎ Whichever is closer
1777‎[08:00] <-- sw1nn (~sw1nn@2001:8b0:caed:24b4:cedc:9c52:c843:5571) has left this server (Ping timeout: 246 seconds).
1778‎[08:00] <-- simukis_ (~simukis_@md-188-69-197-127.omni.lt) has left this server (Read error: Connection reset by peer).
1779‎[08:00] ‎<‎erisco‎>‎ within some margin of error, I should think
1780‎[08:01] <-- mj_k (~mj_k@59.10.109.21) has left this server (Quit: long live javascript).
1781‎[08:01] ‎* ‎nshepperd_‎‎ pretends that floating point numbers are real numbers
1782‎[08:01] --> mj_k (~mj_k@59.10.109.21) has joined this channel.
1783‎[08:01] ‎<‎erisco‎>‎ I suppose if the real is close to an integer it doesn't matter what side it lands on
1784‎[08:02] ‎<‎erisco‎>‎ because the close integer will be the answer, and it will exist as either the ceil or floor
1785‎[08:02] ‎<‎erisco‎>‎ it only matters if the margin of error is greater than... what... 0.5?
1786‎[08:02] ‎<‎sqooq‎>‎ It has to be integers
1787‎[08:03] ‎<‎sqooq‎>‎ 2^(x/12) | x elm Int
1788‎[08:03] ‎<‎erisco‎>‎ what do you think ceil and floor are for, sqooq?
1789‎[08:03] ‎<‎sqooq‎>‎ also in the future I would like to change 12, for now I'm letting it be
1790‎[08:03] --> fsvehla (~fsvehla@h081217224042.dyn.cm.kabsi.at) has joined this channel.
1791‎[08:04] ‎<‎sqooq‎>‎ erisco: o true. Does that actually work?
1792‎[08:04] ‎<‎sqooq‎>‎ That's way easier
1793‎[08:04] <-- guardianx (~pickle@lismor30.lnk.telstra.net) has left this server (Remote host closed the connection).
1794‎[08:04] ‎<‎sqooq‎>‎ let me test, for whatever reason my intuition tells me this can't be true
1795‎[08:04] ‎<‎nisstyre‎>‎ sqooq: for 150, would 2**(87/12) be acceptable?
1796‎[08:04] --> infinity0_ (~infinity0@occupy.ecodis.net) has joined this channel.
1797‎[08:04] <-- infinity0_ (~infinity0@occupy.ecodis.net) has left this server (Changing host).
1798‎[08:04] --> infinity0_ (~infinity0@freenet/developer/infinity0) has joined this channel.
1799‎[08:04] *** infinity0 is now known as Guest86878.
1800‎[08:04] <-- Guest86878 (~infinity0@freenet/developer/infinity0) has left this server (Killed (card.freenode.net (Nickname regained by services))).
1801‎[08:04] *** infinity0_ is now known as infinity0.
1802‎[08:04] ‎<‎sqooq‎>‎ looks so yeah
1803‎[08:05] <-- fsvehla (~fsvehla@h081217224042.dyn.cm.kabsi.at) has left this server (Client Quit).
1804‎[08:05] --> DuncanT1 (~DuncanT@185.38.150.115) has joined this channel.
1805‎[08:05] --> fsvehla (~fsvehla@h081217224042.dyn.cm.kabsi.at) has joined this channel.
1806‎[08:06] --> saurabhnanda (~saurabhna@45.116.2.210) has joined this channel.
1807‎[08:06] <-- Cale (~cale@2607:fea8:98e0:6f5:3810:159c:5c0e:375) has left this server (Ping timeout: 258 seconds).
1808‎[08:07] ‎<‎sqooq‎>‎ n=12ln(x)/ln(2) where x is the integer I want to reach
1809‎[08:08] ‎<‎sqooq‎>‎ and then how do I do the ceiling floor thing
1810‎[08:09] <-- djapo (~archie@unaffiliated/djapo) has left this server (Ping timeout: 255 seconds).
1811‎[08:09] ‎<‎sqooq‎>‎ ceiling or floor doesn't work
1812‎[08:09] ‎<‎sqooq‎>‎ has to be like, round or something
1813‎[08:09] <-- urodna_ (~urodna@unaffiliated/urodna) has left this server (Quit: urodna_).
1814‎[08:09] ‎<‎nshepperd_‎>‎ n1 = floor (12 * logBase 2 x), n2 = ceiling (12 * logBase 2 x)
1815‎[08:09] <-- toblorone (~toblorone@172.58.91.119) has left this server (Read error: Connection reset by peer).
1816‎[08:09] ‎<‎sqooq‎>‎ O do both then do | n1 < n2 = n1 | n2 < n1 = n2
1817‎[08:10] ‎<‎sqooq‎>‎ ayyy
1818‎[08:10] ‎<‎sqooq‎>‎ that'll work for sure
1819‎[08:10] ‎<‎nshepperd_‎>‎ The answer is either 2^(n1/12) or 2^(n2/12)
1820‎[08:10] --> toblorone (~toblorone@172.58.91.119) has joined this channel.
1821‎[08:10] ‎<‎nshepperd_‎>‎ Return whichever one is closer to x
1822‎[08:10] ‎<‎nisstyre‎>‎ sqooq: so I wonder if this works https://ideone.com/Aoclnu
1823‎[08:10] ‎<‎sqooq‎>‎ o derp log base 2
1824‎[08:10] ‎<‎sqooq‎>‎ idk why i'm using natural log
1825‎[08:10] ‎<‎sqooq‎>‎ forgetting my change of base shit
1826‎[08:10] ‎<‎nisstyre‎>‎ it doesn't check which one is closer though (floor or ceil)
1827‎[08:10] ‎<‎nisstyre‎>‎ but it gets you close enough
1828‎[08:11] ‎<‎sqooq‎>‎ why is it so long
1829‎[08:11] --> Raynes (~macro@unaffiliated/raynes) has joined this channel.
1830‎[08:11] ‎<‎nisstyre‎>‎ I adapted it from my other code
1831‎[08:11] ‎<‎nisstyre‎>‎ I could probably shorten it a lot
1832‎[08:11] ‎<‎nisstyre‎>‎ I was just curious if it would actually work
1833‎[08:11] --> sw1nn (~sw1nn@2001:8b0:caed:24b4:cedc:9c52:c843:5571) has joined this channel.
1834‎[08:11] ‎<‎sqooq‎>‎ do you actually want me to test it or
1835‎[08:11] ‎<‎sqooq‎>‎ try it with "5"
1836‎[08:12] ‎<‎sqooq‎>‎ you should get 28, or if you're doing floor, 27
1837‎[08:12] ‎<‎Lokathor‎>‎ is there a haskell trick so that you can prevent a value that you're actually using from escaping a scope?
1838‎[08:12] ‎<‎Lokathor‎>‎ I know about the ST and s deal, but you don't use s yourself in that situation
1839‎[08:12] ‎<‎nisstyre‎>‎ sqooq: 28?
1840‎[08:12] ‎<‎nisstyre‎>‎ I get 28
1841‎[08:12] ‎<‎sqooq‎>‎ with floor??
1842‎[08:12] ‎<‎nisstyre‎>‎ yeah
1843‎[08:13] ‎<‎sqooq‎>‎ wtf sweet that works better than expected
1844‎[08:13] ‎<‎sqooq‎>‎ what about 6?
1845‎[08:13] ‎<‎sqooq‎>‎ should get 31
1846‎[08:13] ‎<‎nisstyre‎>‎ 31
1847‎[08:13] ‎<‎sqooq‎>‎ o shit
1848‎[08:13] ‎<‎sqooq‎>‎ i'm gonna write my own
1849‎[08:13] ‎<‎sqooq‎>‎ in much less lines lmao
1850‎[08:13] ‎<‎nisstyre‎>‎ yeah you can get rid of the data type
1851‎[08:13] ‎<‎nisstyre‎>‎ and just search it directly
1852‎[08:15] <-- JeanCarloMachado (~jean@186.222.6.65) has left this server (Ping timeout: 248 seconds).
1853‎[08:17] --> cschneid_ (~cschneid@2603:300b:901:300:a9b2:a4d4:26df:23f1) has joined this channel.
1854‎[08:18] <-- systemfault (~rcyr@unaffiliated/rcyr) has left this server (Quit: Bye!).
1855‎[08:19] --> Cale (~cale@2607:fea8:98e0:6f5:e0e3:5a5d:6eb5:c032) has joined this channel.
1856‎[08:19] <-- connrs (~connrs@conners.plus.com) has left this server (Ping timeout: 258 seconds).
1857‎[08:20] ‎<‎nshepperd‎>‎ http://lpaste.net/359130
1858‎[08:21] <-- louispan (~textual@203.38.203.134) has left this server (Quit: louispan).
1859‎[08:21] <-- cschneid_ (~cschneid@2603:300b:901:300:a9b2:a4d4:26df:23f1) has left this server (Ping timeout: 255 seconds).
1860‎[08:22] <-- iqubic_ (~iqubic@c-24-17-229-56.hsd1.wa.comcast.net) has left this server (Remote host closed the connection).
1861‎[08:22] --> yoneda (~mike@193.206.102.122) has joined this channel.
1862‎[08:23] <-- serendependy (~christoph@76.78.91.11) has left this server (Ping timeout: 248 seconds).
1863‎[08:25] <-- xtreak (~xtreak@182.73.135.26) has left this server (Remote host closed the connection).
1864‎[08:25] <-- piyush-k` (~user@14.139.174.50) has left this server (Ping timeout: 248 seconds).
1865‎[08:25] --> shangxiao (~shangxiao@103.224.86.126) has joined this channel.
1866‎[08:25] --> Cooler (~coolerext@42.109.131.240) has joined this channel.
1867‎[08:25] <-- Cooler (~coolerext@42.109.131.240) has left this channel.
1868‎[08:25] --> olligobber (~olligobbe@unaffiliated/olligobber) has joined this channel.
1869‎[08:26] ‎<‎sqooq‎>‎ what I tried is a mess
1870‎[08:27] --> xtreak (~xtreak@182.73.135.26) has joined this channel.
1871‎[08:27] --> Itkovian (~Itkovian@178-117-76-63.access.telenet.be) has joined this channel.
1872‎[08:27] ‎<‎nisstyre‎>‎ the logBase solution is probably what you want
1873‎[08:29] ‎<‎sqooq‎>‎ yeah I mean I got it to work
1874‎[08:29] ‎<‎sqooq‎>‎ I just feel it's ugly but maybe not
1875‎[08:29] ‎<‎sqooq‎>‎ hold up
1876‎[08:29] ‎<‎nisstyre‎>‎ but if you want to have like an arbitrary formulate later
1877‎[08:29] ‎<‎nisstyre‎>‎ then some other more general solution
1878‎[08:30] ‎<‎nisstyre‎>‎ *formula
1879‎[08:31] ‎<‎ongy‎>‎ what's the extension called that makes 1e6 a valid integer literal? I forgott the name
1880‎[08:31] ‎<‎sqooq‎>‎ there's a function to flip the arguments fo a function right
1881‎[08:31] ‎<‎nshepperd‎>‎ λ> solve 1000
1882‎[08:31] ‎<‎nshepperd‎>‎ "2^(120 / 12)"
1883‎[08:32] ‎<‎nshepperd‎>‎ :)
1884‎[08:32] ‎<‎nisstyre‎>‎ nshepperd: that's nice
1885‎[08:32] ‎<‎nisstyre‎>‎ what does Numeric.Search do?
1886‎[08:32] --> louispan (~textual@203.38.203.134) has joined this channel.
1887‎[08:33] ‎<‎nisstyre‎>‎ oh just binary searches
1888‎[08:33] --> shafox__ (~pbehera@125.18.28.214) has joined this channel.
1889‎[08:33] ‎<‎nshepperd‎>‎ https://hackage.haskell.org/package/binary-search-1.0.0.3/docs/Numeric-Search-Integer.html
1890‎[08:33] ‎<‎ongy‎>‎ found it, NumDecimals
1891‎[08:33] ‎<‎Maxdamantus‎>‎ ongy: apparently "NumDecimals"
1892‎[08:33] ‎<‎Maxdamantus‎>‎ eh, nvm.
1893‎[08:33] ‎<‎nisstyre‎>‎ I never knew about that library
1894‎[08:33] ‎<‎nshepperd‎>‎ search p returns the first Integer such that p is true
1895‎[08:33] ‎<‎sqooq‎>‎ agh shoot, i'm so stupid
1896‎[08:33] <-- duncan^ (UNKNOWN@unaffiliated/yulax) has left this server (Ping timeout: 258 seconds).
1897‎[08:33] ‎<‎sqooq‎>‎ how do I do the function over and over up to some number n
1898‎[08:34] ‎<‎sqooq‎>‎ This seems trivia
1899‎[08:34] ‎<‎sqooq‎>‎ It's getting l8
1900‎[08:34] ‎<‎nisstyre‎>‎ sqooq: iterate?
1901‎[08:34] ‎<‎sqooq‎>‎ my brain stop working
1902‎[08:34] ‎<‎sqooq‎>‎ nisstyre, if that's the term sure
1903‎[08:34] ‎<‎sqooq‎>‎ like you give it 20
1904‎[08:34] ‎<‎Maxdamantus‎>‎ takeWhile (<n) f
1905‎[08:34] ‎<‎sqooq‎>‎ and it finds the integers for you for 1 2 3 4 ...
1906‎[08:34] --> Mon_Ouie (~Mon_Ouie@subtle/user/MonOuie) has joined this channel.
1907‎[08:34] ‎<‎Maxdamantus‎>‎ takeWhile (<n) . iterate f
1908‎[08:34] <-- Nd-69-M (~nend@109.72.55.120) has left this server (Ping timeout: 240 seconds).
1909‎[08:34] --> befuddled (~befuddled@106.51.109.84) has joined this channel.
1910‎[08:34] ‎<‎nisstyre‎>‎ yeah
1911‎[08:34] <-- nighty- (~nighty@kyotolabs.asahinet.com) has left this server (Quit: Disappears in a puff of smoke).
1912‎[08:34] --> ccomb (~ccomb@5.176.54.216) has joined this channel.
1913‎[08:35] <-- shafox (~pbehera@125.18.28.214) has left this server (Ping timeout: 240 seconds).
1914‎[08:35] *** shafox__ is now known as shafox.
1915‎[08:35] ‎<‎Maxdamantus‎>‎ or if you meant `n` times, then `take n . iterate f`
1916‎[08:35] ‎<‎nshepperd‎>‎ I should say, "smallest" Integer, it works for negative numbers too
1917‎[08:35] ‎<‎sqooq‎>‎ Idk takeWhile (<n) f didn't seem to work
1918‎[08:35] ‎<‎nshepperd‎>‎ and does some fancy binary / exponential search behind the scenes
1919‎[08:35] ‎<‎Maxdamantus‎>‎ sqooq: that was a mistake. I meant to write my second expression.
1920‎[08:36] ‎<‎nisstyre‎>‎ :t iterate
1921‎[08:36] ‎<‎lambdabot‎>‎ (a -> a) -> a -> [a]
1922‎[08:36] --> not_a_lawyer (47d94de3@gateway/web/freenode/ip.71.217.77.227) has joined this channel.
1923‎[08:36] ‎<‎nshepperd‎>‎ λ> solve (0.2)
1924‎[08:36] ‎<‎nshepperd‎>‎ "2^(-28 / 12)"
1925‎[08:36] ‎<‎sqooq‎>‎ idk "take n . iterate f" didn't work either seemingly
1926‎[08:36] --> nighty- (~nighty@kyotolabs.asahinet.com) has joined this channel.
1927‎[08:36] ‎<‎not_a_lawyer‎>‎ Hi! Can anyone help me with a license question?
1928‎[08:36] --> duncan^ (UNKNOWN@unaffiliated/yulax) has joined this channel.
1929‎[08:36] ‎<‎Maxdamantus‎>‎ > let g = takeWhile (<1000) . iterate (2*) in g 3
1930‎[08:36] ‎<‎lambdabot‎>‎ [3,6,12,24,48,96,192,384,768]
1931‎[08:37] ‎<‎ongy‎>‎ Maxdamantus: thanks anyways
1932‎[08:37] --> BaNzoun3t (~alex@199.201.66.0) has joined this channel.
1933‎[08:37] ‎<‎Maxdamantus‎>‎ ongy: np
1934‎[08:37] ‎<‎sqooq‎>‎ what does iterate do
1935‎[08:37] ‎<‎not_a_lawyer‎>‎ I want to use the implementation of `Data.List.intersperse` in the standard library for a language I'm contributing to, but I'm not sure what conditions I have to fulfill if I do
1936‎[08:38] ‎<‎sqooq‎>‎ when I tried "iterate (2*) 1" I get an endless console printing of a bunch of numbers
1937‎[08:38] ‎<‎Maxdamantus‎>‎ > take 5 $ iterate f x
1938‎[08:38] ‎<‎lambdabot‎>‎ [x,f x,f (f x),f (f (f x)),f (f (f (f x)))]
1939‎[08:38] ‎<‎sqooq‎>‎ what the
1940‎[08:38] ‎<‎nisstyre‎>‎ sqooq: yeah because it just does 2*1, 2*2, 2*4, etc
1941‎[08:39] ‎<‎sqooq‎>‎ I can't figure out how to make this work with my function
1942‎[08:39] ‎<‎sqooq‎>‎ it needs to do [f 1, f 2, f 3, f 4]
1943‎[08:39] ‎<‎sqooq‎>‎ . . .
1944‎[08:39] ‎<‎nisstyre‎>‎ map f [1..] ??
1945‎[08:39] --> dkov (~dkov@84-114-31-82.cable.dynamic.surfer.at) has joined this channel.
1946‎[08:39] ‎<‎Maxdamantus‎>‎ Maybe you want `map f [1..]`
1947‎[08:39] ‎<‎nisstyre‎>‎ lol
1948‎[08:39] ‎<‎sqooq‎>‎ derp
1949‎[08:39] ‎<‎sqooq‎>‎ I told you I was tired
1950‎[08:39] ‎<‎sqooq‎>‎ and this was trivial
1951‎[08:39] ‎<‎nisstyre‎>‎ I overthought it
1952‎[08:39] ‎<‎sqooq‎>‎ lol
1953‎[08:40] ‎<‎sqooq‎>‎ ayyy
1954‎[08:40] ‎<‎sqooq‎>‎ perfect
1955‎[08:40] ‎<‎nisstyre‎>‎ \m/
1956‎[08:41] <-- BaNzoun3t (~alex@199.201.66.0) has left this server (Ping timeout: 248 seconds).
1957‎[08:42] ‎<‎sqooq‎>‎ http://lpaste.net/359131
1958‎[08:42] <-- duncan^ (UNKNOWN@unaffiliated/yulax) has left this server (Ping timeout: 255 seconds).
1959‎[08:42] ‎<‎sqooq‎>‎ that's what mine ended up being
1960‎[08:42] ‎<‎sqooq‎>‎ it seems to work
1961‎[08:42] --> shafox_ (~pbehera@125.18.28.214) has joined this channel.
1962‎[08:42] <-- nshepperd (~nshepperd@gateway/vpn/privateinternetaccess/nshepperd) has left this server (Ping timeout: 240 seconds).
1963‎[08:43] ‎<‎nisstyre‎>‎ can't sy I know what Edo means but looks fine
1964‎[08:44] <-- Itkovian (~Itkovian@178-117-76-63.access.telenet.be) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
1965‎[08:44] <-- yellowj (~yellowj@epy176.neoplus.adsl.tpnet.pl) has left this server (Quit: WeeChat 1.9.1).
1966‎[08:44] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
1967‎[08:44] ‎<‎sqooq‎>‎ it's just changing the "12" in 2**(n/12)
1968‎[08:45] ‎<‎sqooq‎>‎ edo means "equal division of the octave"
1969‎[08:45] ‎<‎sqooq‎>‎ if you're ultimately curious
1970‎[08:45] ‎<‎sqooq‎>‎ http://sethares.engr.wisc.edu/paperspdf/cmj98.pdf
1971‎[08:45] <-- ertes (~ertes@haskell/developer/ertes) has left this server (Ping timeout: 248 seconds).
1972‎[08:46] <-- shafox (~pbehera@125.18.28.214) has left this server (Ping timeout: 255 seconds).
1973‎[08:46] *** shafox_ is now known as shafox.
1974‎[08:46] --> nshepperd (~nshepperd@gateway/vpn/privateinternetaccess/nshepperd) has joined this channel.
1975‎[08:47] --> vlatkoB (~IRC_clien@unaffiliated/vlatkob) has joined this channel.
1976‎[08:48] --> Associat0r (~Associat0@31-151-60-131.dynamic.upc.nl) has joined this channel.
1977‎[08:48] <-- Associat0r (~Associat0@31-151-60-131.dynamic.upc.nl) has left this server (Changing host).
1978‎[08:48] --> Associat0r (~Associat0@unaffiliated/associat0r) has joined this channel.
1979‎[08:49] <-- toblorone (~toblorone@172.58.91.119) has left this server (Read error: Connection reset by peer).
1980‎[08:49] ‎<‎nshepperd‎>‎ not_a_lawyer: probably none. it's a trivial snippet and you'll have to rewrite it anyway if you're using it in a language other than haskell. but the license is https://hackage.haskell.org/package/base-4.10.0.0/src/LICENSE
1981‎[08:49] <-- isaac__ (uid135476@gateway/web/irccloud.com/x-yrufkfqvjgjuawxf) has left this server.
1982‎[08:49] --> isaac__ (sid135476@gateway/web/irccloud.com/x-siakoqxuouuybetv) has joined this channel.
1983‎[08:49] --> toblorone (~toblorone@172.58.91.119) has joined this channel.
1984‎[08:50] --> duncan^ (UNKNOWN@unaffiliated/yulax) has joined this channel.
1985‎[08:50] ‎<‎nisstyre‎>‎ sqooq: cool stuff
1986‎[08:50] <-- fsvehla (~fsvehla@h081217224042.dyn.cm.kabsi.at) has left this server (Quit: fsvehla).
1987‎[08:50] ‎<‎sqooq‎>‎ ye
1988‎[08:51] --> osa1 (~omer@haskell/developer/osa1) has joined this channel.
1989‎[08:51] <-- poliquin_ (~poliquin@96-86-180-189-static.hfc.comcastbusiness.net) has left this server (Ping timeout: 240 seconds).
1990‎[08:51] <-- poliquin__ (~poliquin@96-86-180-189-static.hfc.comcastbusiness.net) has left this server (Ping timeout: 248 seconds).
1991‎[08:52] ‎<‎HaskellLord69‎>‎ does everyone feel like a wizard the first time they use the state monad
1992‎[08:52] ‎<‎HaskellLord69‎>‎ because thats how I feel right now
1993‎[08:52] <-- codesoup (~codesoup@CPE00fc8de45853-CM00fc8de45850.cpe.net.cable.rogers.com) has left this server (Quit: Leaving).
1994‎[08:53] ‎<‎xormor‎>‎ Haskell is like a line-by-line (commandline) scientific functional mathematical and symbolic "calculator"/"computer" to me.
1995‎[08:54] ‎<‎xormor‎>‎ it is best suited for mathematics and characters. I do not think it can draw graphics. Am I wrong?
1996‎[08:55] --> dhil (~dhil@dhcp-90-078.inf.ed.ac.uk) has joined this channel.
1997‎[08:55] ‎<‎HaskellLord69‎>‎ John Carmack rewrote Wolfenstein 3D in haskell if that is any indication
1998‎[08:56] --> boj (~bojo@p1379178-ipngn200208osakachuo.osaka.ocn.ne.jp) has joined this channel.
1999‎[08:56] ‎<‎xormor‎>‎ HaskellLord69, ok
2000‎[08:57] ‎<‎HaskellLord69‎>‎ I know very little about graphics personally so hopefully someone else can give you a better answer
2001‎[08:57] ‎<‎Maxdamantus‎>‎ Yeah, who needs maths for doing graphics anyway?
2002‎[08:57] ‎<‎Maxdamantus‎>‎ Trigonometry is a scam.
2003‎[08:58] <-- louispan (~textual@203.38.203.134) has left this server (Quit: louispan).
2004‎[08:58] ‎<‎xormor‎>‎ Maxdamantus, I used trigonometry to draw green triangles in Turbo Pascal, that was in the end of the '90's or the early 2000's.
2005‎[08:58] --> cur8or (~cur8or@72canterbury.cybersmart.co.za) has joined this channel.
2006‎[08:58] --> acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has joined this channel.
2007‎[08:58] ‎<‎xormor‎>‎ Maxdamantus, the triangles were in 3 dimensions.
2008‎[08:59] <-- acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has left this server (Max SendQ exceeded).
2009‎[08:59] ‎<‎xormor‎>‎ Maxdamantus, Turbo Pascal trigonometric 3D green triangles
2010‎[09:00] ‎<‎xormor‎>‎ I have found it difficult to implement graphics in C and C++. I mostly do not bother. I would have to download some libraries and header files (*.h).
2011‎[09:00] <-- shafox (~pbehera@125.18.28.214) has left this server (Quit: shafox).
2012‎[09:00] --> fizruk (~anonymous@90.201.161.14) has joined this channel.
2013‎[09:00] ‎<‎xormor‎>‎ I have drawn graphics in x86 assembly. It was in real mode in MS-DOS, sometimes in pure MS-DOS and sometimes in Windows (XP). In the MS-DOS window.
2014‎[09:00] <-- cyborg-one (~cyborg-on@185.145.105.52) has left this server (Quit: cyborg-one).
2015‎[09:01] --> acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has joined this channel.
2016‎[09:01] <-- acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has left this server (Max SendQ exceeded).
2017‎[09:01] ‎<‎HaskellLord69‎>‎ a true graphics hacker
2018‎[09:01] ‎<‎HaskellLord69‎>‎ I did squares in qbasic in high school...
2019‎[09:02] --> acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has joined this channel.
2020‎[09:02] <-- acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has left this server (Max SendQ exceeded).
2021‎[09:02] --> ertes-w (~ertes@haskell/developer/ertes) has joined this channel.
2022‎[09:02] --> Gurkenglas (~Gurkengla@dslb-094-223-135-191.094.223.pools.vodafone-ip.de) has joined this channel.
2023‎[09:03] --> acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has joined this channel.
2024‎[09:04] <-- acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has left this server (Max SendQ exceeded).
2025‎[09:04] <-- xtreak (~xtreak@182.73.135.26) has left this server (Remote host closed the connection).
2026‎[09:04] <-- zzq (~zzq@46.120.114.167) has left this server (Quit: leaving).
2027‎[09:04] <-- tsaka__ (~torstein@84-52-234.108.3p.ntebredband.no) has left this server (Ping timeout: 240 seconds).
2028‎[09:05] --> zzq (~zzq@46.120.114.167) has joined this channel.
2029‎[09:05] <-- not_a_lawyer (47d94de3@gateway/web/freenode/ip.71.217.77.227) has left this server (Ping timeout: 260 seconds).
2030‎[09:05] --> acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has joined this channel.
2031‎[09:06] <-- acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has left this server (Max SendQ exceeded).
2032‎[09:06] --> xtreak (~xtreak@182.73.135.26) has joined this channel.
2033‎[09:06] ‎<‎Squarism‎>‎ xormor, i did 3d drawing programing in Turbo Pascal using FFI to assembler to enter random rotation mode of the models in 3d. Totally pointless but very time consuming for an 18 year old wo a clue.
2034‎[09:07] --> agjacome (~agjacome@176.red-79-153-29.dynamicip.rima-tde.net) has joined this channel.
2035‎[09:08] --> acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has joined this channel.
2036‎[09:08] <-- acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has left this server (Max SendQ exceeded).
2037‎[09:08] <-- shangxiao (~shangxiao@103.224.86.126) has left this server (Ping timeout: 258 seconds).
2038‎[09:08] --> Xion_ (~kaon@host109-148-117-160.range109-148.btcentralplus.com) has joined this channel.
2039‎[09:08] --> jedws (~jedws@pa49-195-33-81.pa.nsw.optusnet.com.au) has joined this channel.
2040‎[09:08] <-- dec0n (~dec0n@draugas.gis-centras.lt) has left this server (Read error: Connection reset by peer).
2041‎[09:09] --> cdg (~cdg@2600:1700:3120:40e0:2c29:cca6:7478:41b3) has joined this channel.
2042‎[09:10] --> acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has joined this channel.
2043‎[09:10] <-- acrid-ned-hammoc (~floe-catf@178.162.222.41.adsl.inet-telecom.org) has left this server (Max SendQ exceeded).
2044‎[09:10] --> dec0n (~dec0n@draugas.gis-centras.lt) has joined this channel.
2045‎[09:12] --> zariuq (~zar@fw1.ciirc.cvut.cz) has joined this channel.
2046‎[09:12] <-- Bish (~arne@p5DF52486.dip0.t-ipconnect.de) has left this server (Read error: Connection reset by peer).
2047‎[09:13] <-- Xion_ (~kaon@host109-148-117-160.range109-148.btcentralplus.com) has left this server (Ping timeout: 240 seconds).
2048‎[09:13] --> andyhuzhill1 (~Thunderbi@14.23.45.178) has joined this channel.
2049‎[09:13] <-- andyhuzhill (~Thunderbi@14.23.45.178) has left this server (Ping timeout: 258 seconds).
2050‎[09:13] *** andyhuzhill1 is now known as andyhuzhill.
2051‎[09:14] ‎<‎sqooq‎>‎ mfw all computers do is math
2052‎[09:14] <-- cdg (~cdg@2600:1700:3120:40e0:2c29:cca6:7478:41b3) has left this server (Ping timeout: 258 seconds).
2053‎[09:15] <-- dfeuer (~dfeuer@wikimedia/Dfeuer) has left this server (Ping timeout: 248 seconds).
2054‎[09:15] <-- befuddled (~befuddled@106.51.109.84) has left this server (Quit: Computer has gone to sleep.).
2055‎[09:16] --> befuddled (~befuddled@106.51.109.84) has joined this channel.
2056‎[09:16] ‎<‎xormor‎>‎ sqooq, yes. I know basic Junior High School and High School math like a²+b²=c², c=sqrt(b²+a^)
2057‎[09:16] ‎<‎xormor‎>‎ and x^n+y^n=z^n
2058‎[09:16] <-- ntinos (~quassel@snf-766783.vm.okeanos.grnet.gr) has left this server (Remote host closed the connection).
2059‎[09:16] ‎<‎xormor‎>‎ Pythagoras and Fermat
2060‎[09:17] ‎<‎sqooq‎>‎ learn math
2061‎[09:17] --> danvet (~Daniel@2a02:168:5635:0:39d2:f87e:2033:9f6) has joined this channel.
2062‎[09:17] --> eatman (~eatman@anatoscope4.inrialpes.fr) has joined this channel.
2063‎[09:17] --> pavonia (~user@unaffiliated/siracusa) has joined this channel.
2064‎[09:17] <-- jb55 (~jb55@70-36-49-138.dyn.novuscom.net) has left this server (Ping timeout: 248 seconds).
2065‎[09:18] <-- eatman (~eatman@anatoscope4.inrialpes.fr) has left this server (Client Quit).
2066‎[09:18] --> Stanley00 (7645d214@gateway/web/freenode/ip.118.69.210.20) has joined this channel.
2067‎[09:18] --> eatman (~eatman@anatoscope4.inrialpes.fr) has joined this channel.
2068‎[09:18] --> fvr` (~user@45.116.2.210) has joined this channel.
2069‎[09:18] --> bazukas (~bazukas@95.161.189.62) has joined this channel.
2070‎[09:18] ‎<‎[exa]‎>‎ all computers do is computing numbers
2071‎[09:18] ‎<‎[exa]‎>‎ (completely unrelated to math)
2072‎[09:18] --> btk (~tob@ip-89-250-201-98.rev.snt.net.pl) has joined this channel.
2073‎[09:18] ‎* ‎[exa]‎‎ </troll>
2074‎[09:18] <-- dhil (~dhil@dhcp-90-078.inf.ed.ac.uk) has left this server (Ping timeout: 248 seconds).
2075‎[09:19] <-- fvr` (~user@45.116.2.210) has left this channel.
2076‎[09:19] --> shafox (~pbehera@125.18.28.214) has joined this channel.
2077‎[09:19] --> porcow[m] (porcowmatr@gateway/shell/matrix.org/x-ctzpmwjpzgvjbkej) has joined this channel.
2078‎[09:19] --> neoncontrails (~neoncontr@2602:306:31a7:a1a0:fd17:7ef1:e246:a275) has joined this channel.
2079‎[09:20] <-- fvr (~user@45.116.2.210) has left this server (Ping timeout: 248 seconds).
2080‎[09:20] --> shangxiao (~shangxiao@103.224.86.126) has joined this channel.
2081‎[09:21] --> shafox_ (~pbehera@125.18.28.214) has joined this channel.
2082‎[09:21] --> raichoo (~raichoo@office02.saltation.de) has joined this channel.
2083‎[09:21] <-- leat (~leat@188.162.192.128) has left this server (Quit: WeeChat 1.9).
2084‎[09:22] <-- brett (~mozkrilla@98.206.40.238) has left this server (Remote host closed the connection).
2085‎[09:22] <-- agjacome (~agjacome@176.red-79-153-29.dynamicip.rima-tde.net) has left this server (Quit: leaving).
2086‎[09:23] ‎<‎tdammers‎>‎ computers can't do math
2087‎[09:23] --> agjacome (~agjacome@176.red-79-153-29.dynamicip.rima-tde.net) has joined this channel.
2088‎[09:23] ‎<‎tdammers‎>‎ math is about infinite things, computers are finite state machines
2089‎[09:24] <-- shafox (~pbehera@125.18.28.214) has left this server (Ping timeout: 240 seconds).
2090‎[09:24] *** shafox_ is now known as shafox.
2091‎[09:24] <-- sqooq (~sqooq@96-58-47-10.res.bhn.net) has left this server (Quit: Leaving).
2092‎[09:24] <-- Tops2 (~Tobias@dyndsl-095-033-103-125.ewe-ip-backbone.de) has left this server (Read error: Connection reset by peer).
2093‎[09:25] ‎<‎tdammers‎>‎ HaskellLord69: http://hackage.haskell.org/packages/tag/graphics <- re "Haskell can't do graphics"
2094‎[09:25] ‎<‎ertes-w‎>‎ ello
2095‎[09:26] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Remote host closed the connection).
2096‎[09:26] --> neon_icon (~neon_icon@96.44.145.19) has joined this channel.
2097‎[09:26] ‎<‎ertes-w‎>‎ what does "do math" even mean?
2098‎[09:26] ‎<‎xormor‎>‎ tdammers, computers are Turing machines that operate with and upon symbols.
2099‎[09:26] ‎<‎ertes-w‎>‎ computing is just as much "doing math" as algebraic reasoning
2100‎[09:26] ‎<‎tdammers‎>‎ xormor: one problem though; the original Turing machine has an infinite supply of tape, computers don't
2101‎[09:27] --> shafox_ (~pbehera@125.18.28.214) has joined this channel.
2102‎[09:28] ‎<‎tdammers‎>‎ xormor: so when we use the term "Turing Complete" to describe real machines, we handwaive this concern; what we really mean in such cases is "if we ignore the fact that the machine has finite memory and exists in a finite universe, then it qualifies as Turing Complete"
2103‎[09:29] ‎<‎Squarism‎>‎ cant one say arithmetics is parts of math? =D
2104‎[09:29] ‎<‎ertes-w‎>‎ tdammers: a computer can be constructed such that, if it runs out of memory, it blocks waiting for the operator to insert more RAM
2105‎[09:29] ‎<‎ertes-w‎>‎ you just need a cleverer addressing scheme
2106‎[09:29] <-- diegoksp (~diegoksp@190.153.194.178) has left this server (Quit: Leaving).
2107‎[09:29] --> emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has joined this channel.
2108‎[09:29] <-- `Guest00000 (~user@37.113.156.86) has left this server (Ping timeout: 255 seconds).
2109‎[09:29] ‎<‎tdammers‎>‎ ertes-w: right... that's assuming you have either infinite RAM production capacity, or infinite amounts of time
2110‎[09:30] <-- befuddled (~befuddled@106.51.109.84) has left this server (Quit: Computer has gone to sleep.).
2111‎[09:30] ‎<‎tdammers‎>‎ ertes-w: but in practice, it looks like you have neither
2112‎[09:30] --> Itkovian (~Itkovian@188.188.89.77) has joined this channel.
2113‎[09:30] ‎<‎ertes-w‎>‎ tdammers: that's not the point… the computer itself is a real turing machine, but it may need more memory than you can provide
2114‎[09:30] <-- shafox (~pbehera@125.18.28.214) has left this server (Ping timeout: 260 seconds).
2115‎[09:30] --> saurabhn_ (~saurabhna@45.116.2.210) has joined this channel.
2116‎[09:30] --> cdg (~cdg@2600:1700:3120:40e0:2c29:cca6:7478:41b3) has joined this channel.
2117‎[09:31] ‎<‎ertes-w‎>‎ "if you ask me to compute huge/infinite things, i will, but be prepared to pay for it"
2118‎[09:31] --> shafox (~pbehera@125.18.28.214) has joined this channel.
2119‎[09:31] ‎<‎tdammers‎>‎ well, considering that the universe will eventually come to a halt one way or another, *all* problems are halting in practice
2120‎[09:31] --> whoisxy (~whoisxy@83.137.254.176) has joined this channel.
2121‎[09:31] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
2122‎[09:32] ‎<‎ventonegro‎>‎ https://en.wikipedia.org/wiki/Computer-assisted_proof#List_of_theorems_proved_with_the_help_of_computer_programs
2123‎[09:32] ‎<‎tdammers‎>‎ so our computer is theoretically Turing Complete, but not practically
2124‎[09:32] ‎<‎tdammers‎>‎ then again, theoretical Turing Completeness covers all the interesting qualities anyway
2125‎[09:33] ‎<‎tdammers‎>‎ if an algorithm is guaranteed to run in finite time, then there's a chance we can, at some point, optimize it down to a reasonable time scale
2126‎[09:33] ‎<‎ertes-w‎>‎ exactly… you still can't write a theoretical turing machine that could check even for a practical turing machine whether it halts
2127‎[09:33] --> befuddled (~befuddled@106.51.109.84) has joined this channel.
2128‎[09:33] --> laz (~vl@0890794675.static.corbina.ru) has joined this channel.
2129‎[09:33] ‎<‎tdammers‎>‎ if it's not, then no amount of optimization will help, because no matter how much finite resources or time we throw at it, it may run longer than the lifetime of the relevant host system
2130‎[09:33] --> albertid (~albertid_@p549B5042.dip0.t-ipconnect.de) has joined this channel.
2131‎[09:33] --> John882 (~John882@185.140.114.52) has joined this channel.
2132‎[09:34] <-- saurabhnanda (~saurabhna@45.116.2.210) has left this server (Ping timeout: 240 seconds).
2133‎[09:34] ‎<‎tdammers‎>‎ in practice, we don't need to know whether something runs indefinitely, we just need to know whether it will terminate before some deadline
2134‎[09:34] <-- emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has left this server (Ping timeout: 248 seconds).
2135‎[09:34] <-- shafox_ (~pbehera@125.18.28.214) has left this server (Ping timeout: 240 seconds).
2136‎[09:34] ‎<‎[exa]‎>‎ still "doing math" is mostly about laughing how e.g. bolzano-weierstrass theorem is actually dumb after you get it
2137‎[09:34] ‎<‎tdammers‎>‎ and in fact, there are a few things that are guaranteed to halt, but still take long enough to run in practice that they exceed the deadline
2138‎[09:35] --> slomo (~slomo@31-152-153-83.mobile.amp.cosmote.net) has joined this channel.
2139‎[09:35] <-- slomo (~slomo@31-152-153-83.mobile.amp.cosmote.net) has left this server (Changing host).
2140‎[09:35] --> slomo (~slomo@unaffiliated/slomo) has joined this channel.
2141‎[09:35] ‎<‎tdammers‎>‎ cryptographic hashes like bcrypt, for example
2142‎[09:35] --> nickolay_ (~quassel@178.155.4.49) has joined this channel.
2143‎[09:35] <-- cdg (~cdg@2600:1700:3120:40e0:2c29:cca6:7478:41b3) has left this server (Ping timeout: 246 seconds).
2144‎[09:35] <-- andyhuzhill (~Thunderbi@14.23.45.178) has left this server (Ping timeout: 240 seconds).
2145‎[09:36] ‎* ‎hackagebot‎‎ digit 0.5.1 – A data-type representing digits 0-9 and other combinations – https://hackage.haskell.org/package/digit
2146‎[09:36] ‎<‎ertes-w‎>‎ "doing math" is mostly cryptanalysis… trying to understand the broken terminology, disambiguate the ambiguous notation and infer the missing quantfiers of badly written papers… that's what math really is about
2147‎[09:38] --> floe-catfish (~paul@195.158.103.119) has joined this channel.
2148‎[09:38] <-- floe-catfish (~paul@195.158.103.119) has left this server (Max SendQ exceeded).
2149‎[09:38] --> merijn (~merijn@wcw-staff-145-18-165-136.wireless.uva.nl) has joined this channel.
2150‎[09:39] --> floe-catfish (~paul@195.158.103.119) has joined this channel.
2151‎[09:39] <-- floe-catfish (~paul@195.158.103.119) has left this server (Max SendQ exceeded).
2152‎[09:40] --> floe-catfish (~paul@195.158.103.119) has joined this channel.
2153‎[09:40] <-- floe-catfish (~paul@195.158.103.119) has left this server (Max SendQ exceeded).
2154‎[09:40] <-- ccomb (~ccomb@5.176.54.216) has left this server (Ping timeout: 255 seconds).
2155‎[09:41] <-- quazimodo (~quazimodo@14-202-234-219.static.tpgi.com.au) has left this server (Ping timeout: 240 seconds).
2156‎[09:41] --> connrs (~connrs@mercury.meantime.co.uk) has joined this channel.
2157‎[09:42] <-- aarvar (~foewfoiew@50.34.105.170) has left this server (Ping timeout: 258 seconds).
2158‎[09:43] <-- toblorone (~toblorone@172.58.91.119) has left this server (Remote host closed the connection).
2159‎[09:47] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Remote host closed the connection).
2160‎[09:47] <-- ackpacket (~ackpacket@unaffiliated/ackpacket) has left this server (Ping timeout: 255 seconds).
2161‎[09:48] ‎<‎saurabhn_‎>‎ does ByteString not have ToJSON instances?
2162‎[09:49] ‎<‎merijn‎>‎ What would the JSON of a ByteString even be? Does JSON even allow for binary data?
2163‎[09:49] ‎<‎tdammers‎>‎ how could it?
2164‎[09:49] ‎<‎opqdonut‎>‎ base64 >:)
2165‎[09:49] ‎<‎tdammers‎>‎ base64 is one possible representation, but there is no canonical one
2166‎[09:49] ‎<‎opqdonut‎>‎ yeah
2167‎[09:49] ‎<‎merijn‎>‎ opqdonut: I'll file that under "extra reasons to hate JSON"
2168‎[09:49] ‎<‎saurabhn_‎>‎ ummm... I'm getting a ByteString from a Wreq call, and need to pass it on to another service...
2169‎[09:50] ‎<‎tdammers‎>‎ another possible representation would be an array of numbers
2170‎[09:50] ‎<‎saurabhn_‎>‎ ... why do I need to encode it as Text only to immediately decode it back to a ByteString?
2171‎[09:50] ‎<‎opqdonut‎>‎ saurabhn_: you can obviously write your own ByteString -> Value function
2172‎[09:50] ‎<‎opqdonut‎>‎ for your use case
2173‎[09:50] ‎<‎ventonegro‎>‎ saurabhn_: How do you POST it to the service?
2174‎[09:51] --> eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
2175‎[09:51] <-- Itkovian (~Itkovian@188.188.89.77) has left this server (Ping timeout: 240 seconds).
2176‎[09:51] ‎<‎saurabhn_‎>‎ opqdonut: won't really work. Value = ... String !Text ....
2177‎[09:51] --> howdoi (uid224@gateway/web/irccloud.com/x-diduxwtmgpiuczkm) has joined this channel.
2178‎[09:51] ‎<‎opqdonut‎>‎ saurabhn_: oh right
2179‎[09:51] ‎<‎saurabhn_‎>‎ ventonegro: via Wreq
2180‎[09:51] ‎<‎saurabhn_‎>‎ get data via Wreq and post it to another HTTP endpoint via Wreq
2181‎[09:51] ‎<‎cocreature‎>‎ well json is a textual format, bytestrings are binary data. so somewhere you need to do a conversion if you want to send json
2182‎[09:51] <-- slimetrap (~slimetrap@2601:448:8400:2a30:8c71:cb67:1dec:f163) has left this server (Quit: Leaving).
2183‎[09:52] ‎<‎saurabhn_‎>‎ seems like a perf-killer.
2184‎[09:52] ‎<‎cocreature‎>‎ if you don’t insist on sending json, you can avoid the conversion
2185‎[09:52] ‎<‎saurabhn_‎>‎ hoe expensive is BSL -> Text conversion?
2186‎[09:52] ‎<‎cocreature‎>‎ I would be surprised if the bottleneck in your application is decoding bytestrings
2187‎[09:52] ‎<‎ventonegro‎>‎ saurabhn_: Sorry, I meant how does the service consume it via HTTP... base64?
2188‎[09:54] ‎<‎saurabhn_‎>‎ ventonegro: the other service that I'm posting it to? Just reads a JSON from the HTTP body.
2189‎[09:54] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
2190‎[09:54] --> floe-catfish (~paul@195.158.103.119) has joined this channel.
2191‎[09:55] <-- eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Ping timeout: 240 seconds).
2192‎[09:55] ‎<‎ventonegro‎>‎ saurabhn_: Since binary data is not a JSON type, you must agree on an encoding somehow, right?
2193‎[09:55] --> acidjnk (~acidjnk22@p4FFBD63B.dip0.t-ipconnect.de) has joined this channel.
2194‎[09:55] <-- whoisxy (~whoisxy@83.137.254.176) has left this server (Ping timeout: 240 seconds).
2195‎[09:55] ‎<‎saurabhn_‎>‎ utf-8 -- if that's what you're askng
2196‎[09:56] ‎<‎merijn‎>‎ saurabhn_: binary data can't be utf-8 encoded, since it's not unicode
2197‎[09:56] ‎<‎merijn‎>‎ utf8 is what (well, one of the options) you use to encode unicode text into binary data
2198‎[09:57] ‎<‎saurabhn_‎>‎ so, net-net -- can't take a bytestring from one wire and throw it to another wire?
2199‎[09:57] ‎<‎merijn‎>‎ saurabhn_: You can, but not as JSON, because that makes no sense
2200‎[09:58] ‎<‎merijn‎>‎ "can I take a binary blob and dump it to another socket?" 'sure'
2201‎[09:58] ‎<‎ventonegro‎>‎ Well, it's not really a wire, it's HTTP, which is a protocol encoded as text
2202‎[09:58] ‎<‎merijn‎>‎ saurabhn_: You're claiming to get a binary blob and want to send it to something that expects JSON. That doesn't work
2203‎[09:59] ‎<‎ventonegro‎>‎ HTTP -> JSON
2204‎[09:59] ‎<‎merijn‎>‎ saurabhn_: Because JSON doesn't support binary data. So you need to either decode the binary data and encode the data inside as JSON. Or you encode the binary data as text using, for example, base64 encoding
2205‎[09:59] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 255 seconds).
2206‎[09:59] ‎<‎cocreature‎>‎ if you don’t insist on sending json, you can avoid the conversion
2207‎[09:59] ‎<‎merijn‎>‎ cocreature: Or if you start insisting on not receiving binary data :p
2208‎[10:00] ‎<‎cocreature‎>‎ right
2209‎[10:00] ‎<‎saurabhn_‎>‎ forget it... BSL -> Text, it is...
2210‎[10:02] ‎<‎merijn‎>‎ saurabhn_: More likely, in my opinion, is that you're confusing encodings, etc. and not telling us exactly what you're getting from where
2211‎[10:02] --> leat (~leat@188.162.192.128) has joined this channel.
2212‎[10:03] --> thc202 (~thc202@unaffiliated/thc202) has joined this channel.
2213‎[10:03] --> Itkovian (~Itkovian@193.190.88.251) has joined this channel.
2214‎[10:04] --> testar (c1e20594@gateway/web/cgi-irc/kiwiirc.com/ip.193.226.5.148) has joined this channel.
2215‎[10:04] <-- gawen (~gawen@movzbl.root.sx) has left this server (Remote host closed the connection).
2216‎[10:05] <-- ianandrich (~ianandric@c-73-223-61-224.hsd1.ca.comcast.net) has left this server (Ping timeout: 248 seconds).
2217‎[10:06] <-- testar (c1e20594@gateway/web/cgi-irc/kiwiirc.com/ip.193.226.5.148) has left this server (Client Quit).
2218‎[10:06] <-- John882 (~John882@185.140.114.52) has left this server (Quit: John882).
2219‎[10:06] --> inhortte (~polaris@212.21.249.185.static.user.ono.com) has joined this channel.
2220‎[10:07] ‎* ‎hackagebot‎‎ htoml-megaparsec 1.0.1.1 – Parser for TOML files – https://hackage.haskell.org/package/htoml-megaparsec
2221‎[10:07] --> John882 (~John882@185.140.114.52) has joined this channel.
2222‎[10:08] <-- xtreak (~xtreak@182.73.135.26) has left this server (Remote host closed the connection).
2223‎[10:08] --> zero_byte (zer0@nat/redhat/x-kirsmdzhnqrlgvkj) has joined this channel.
2224‎[10:09] <-- xkapastel (uid17782@gateway/web/irccloud.com/x-jzgsdvycwjtspqly) has left this server (Quit: Connection closed for inactivity).
2225‎[10:09] --> _rht (uid86914@gateway/web/irccloud.com/x-tggnnxoidyjmgdbt) has joined this channel.
2226‎[10:10] <-- MP2E (~cray@ip68-224-146-82.lv.lv.cox.net) has left this server (Quit: sleep).
2227‎[10:12] --> shafox_ (~pbehera@125.18.28.214) has joined this channel.
2228‎[10:14] --> whoisxy (~whoisxy@82.112.145.25) has joined this channel.
2229‎[10:14] <-- niklasl (~niklasl@c83-249-82-116.bredband.comhem.se) has left this server (Quit: Nettalk6 - www.ntalk.de).
2230‎[10:14] <-- shafox (~pbehera@125.18.28.214) has left this server (Ping timeout: 248 seconds).
2231‎[10:14] *** shafox_ is now known as shafox.
2232‎[10:15] <-- jedws (~jedws@pa49-195-33-81.pa.nsw.optusnet.com.au) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
2233‎[10:15] --> mattyw (~mattyw@host109-159-161-202.range109-159.btcentralplus.com) has joined this channel.
2234‎[10:16] --> nemesit|znc (~nemesit@2a01:488:66:1000:2ea3:4eeb:0:1) has joined this channel.
2235‎[10:16] <-- fizruk (~anonymous@90.201.161.14) has left this server (Quit: fizruk).
2236‎[10:17] <-- befuddled (~befuddled@106.51.109.84) has left this server (Quit: Computer has gone to sleep.).
2237‎[10:18] --> tripoli (~tripoli@nyc.tunnelr.com) has joined this channel.
2238‎[10:18] <-- roi_du_silence (~dragon@43-226-6-156.static.rise.as) has left this server (Remote host closed the connection).
2239‎[10:18] <-- shangxiao (~shangxiao@103.224.86.126) has left this server (Ping timeout: 260 seconds).
2240‎[10:18] --> andyhuzhill (~Thunderbi@14.23.45.178) has joined this channel.
2241‎[10:18] <-- mj_k (~mj_k@59.10.109.21) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
2242‎[10:20] --> niklasl (~niklasl@c83-249-82-116.bredband.comhem.se) has joined this channel.
2243‎[10:24] --> louispan (~textual@14-203-219-236.static.tpgi.com.au) has joined this channel.
2244‎[10:24] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
2245‎[10:25] --> guiben (~guiben@wyplay-40m-61-50.fib.nerim.net) has joined this channel.
2246‎[10:26] <-- kvda (~kvda@unaffiliated/kvda) has left this server (Ping timeout: 240 seconds).
2247‎[10:27] --> marr (~ccc@87-205-254-96.adsl.inetia.pl) has joined this channel.
2248‎[10:27] ‎<‎jophish‎>‎ Does anyone know who /u/ElvishJericho is?
2249‎[10:31] --> unK_ (~drunK@dynamic-78-10-106-100.ssp.dialog.net.pl) has joined this channel.
2250‎[10:31] <-- maerwald (~maerwald@mail.hasufell.de) has left this server (Ping timeout: 264 seconds).
2251‎[10:32] ‎<‎Ferdirand‎>‎ should we ?
2252‎[10:33] --> maerwald (~maerwald@mail.hasufell.de) has joined this channel.
2253‎[10:34] --> BaNzoun3t (~alex@199.201.66.44) has joined this channel.
2254‎[10:35] --> dfeuer (~dfeuer@wikimedia/Dfeuer) has joined this channel.
2255‎[10:36] --> ltielen (~ltielen@ptr-3z2lko2bunnpt1ahjk9.18120a2.ip6.access.telenet.be) has joined this channel.
2256‎[10:36] --> fizruk (~anonymous@90.201.161.14) has joined this channel.
2257‎[10:36] --> xtreak (~xtreak@182.73.135.26) has joined this channel.
2258‎[10:38] --> mj_k (~mj_k@59.10.109.21) has joined this channel.
2259‎[10:39] --> marvin2 (~m@cpe-188-129-56-125.dynamic.amis.hr) has joined this channel.
2260‎[10:40] <-- dkov (~dkov@84-114-31-82.cable.dynamic.surfer.at) has left this server (Quit: dkov).
2261‎[10:41] <-- royal_screwup21 (89de72f2@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.242) has left this server (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client).
2262‎[10:43] ‎<‎mivael‎>‎ hello all
2263‎[10:43] ‎<‎mivael‎>‎ > let isDigit1, isDigit2 :: Char -> Bool; isDigit1 = f b1; isDigit2 = f b2; f b ch = b $ ord ch - ord '0'; b1 n = (n >= 0) && (n <= 9); b2 n = (fromIntegral n :: Word) <= 9 in (isDigit1 '0', isDigit2 '0')
2264‎[10:43] ‎<‎lambdabot‎>‎ (True,True)
2265‎[10:43] <-- leat (~leat@188.162.192.128) has left this server (Quit: WeeChat 1.9).
2266‎[10:44] <-- BaNzoun3t (~alex@199.201.66.44) has left this server (Quit: Lost terminal).
2267‎[10:44] ‎<‎mivael‎>‎ Should I expect that isDigit1 and isDigit2 are identical regarding performance?
2268‎[10:45] --> m0drzew (~Michal@193-106-245-162.noc.fibertech.net.pl) has joined this channel.
2269‎[10:45] --> mk_modrzew (~Michal@193-106-245-162.noc.fibertech.net.pl) has joined this channel.
2270‎[10:45] ‎<‎merijn‎>‎ mivael: No clue. Also, why would you bother implementing isDigit, given it already exists?
2271‎[10:46] ‎* ‎hackagebot‎‎ concurrency 1.2.1.1 – Typeclasses, functions, and data types for concurrency and STM. – https://hackage.haskell.org/package/concurrency
2272‎[10:47] --> freusque (~fre@2001:660:5301:24:eddd:55e5:cb99:be30) has joined this channel.
2273‎[10:47] ‎<‎mivael‎>‎ merijn, I would not, except for the case if I needed an efficient implementation of isNonzeroDigit
2274‎[10:47] ‎<‎mivael‎>‎ (as far as I know there is no such one)
2275‎[10:48] *** fr33domlover is now known as fr33domlover_.
2276‎[10:48] ‎<‎cocreature‎>‎ mivael: "\c -> c /= '0' && isDigit c" is not sufficiently efficient?
2277‎[10:48] *** fr33domlover_ is now known as fr33domlover__.
2278‎[10:48] *** fr33domlover__ is now known as fr33domlover.
2279‎[10:51] <-- ninedotnine (~dan@modemcable078.123-81-70.mc.videotron.ca) has left this server (Read error: Connection reset by peer).
2280‎[10:51] ‎<‎mivael‎>‎ cocreature, ah, I think it is :) (the ::Word trick would not work in this case anyway)
2281‎[10:51] <-- harfangk (~quassel@222.110.160.66) has left this server (Ping timeout: 240 seconds).
2282‎[10:51] --> ninedotnine (~dan@modemcable078.123-81-70.mc.videotron.ca) has joined this channel.
2283‎[10:51] <-- mschristiansen (~mschristi@197.184.44.195) has left this server (Quit: Leaving).
2284‎[10:52] ‎<‎mivael‎>‎ I'm still curious why isDigit2 way is used here: http://hackage.haskell.org/package/base-4.10.0.0/docs/src/GHC.Unicode.html#isDigit
2285‎[10:53] ‎<‎mivael‎>‎ Does that hint us that isDigit1's way is probably not efficient enough?
2286‎[10:55] ‎<‎mivael‎>‎ merijn, I really should not bother implementing isDigit, my first question was a mistake
2287‎[10:55] --> reactormonk (~tass@185.85.220.254) has joined this channel.
2288‎[10:55] ‎<‎jonge‎>‎ hey i am going to implement an XML REST client library for an internal project. what is the best xml parser lib to use there?
2289‎[10:55] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
2290‎[10:55] ‎<‎jonge‎>‎ if it can nicely generate xml, too, that would be great.
2291‎[10:56] ‎<‎ertes-w‎>‎ jonge: xml-conduit
2292‎[10:56] --> befuddled (~befuddled@106.51.109.84) has joined this channel.
2293‎[10:57] ‎<‎jonge‎>‎ ertes-w: i have the impression that anything conduit related is good for processing masses of data with flat memory consumption. but the xml documents will be always small and trivially fit into memory.
2294‎[10:57] ‎<‎jonge‎>‎ or is xml-conduit apart from that also very elegant for simple parsing of small docs?
2295‎[10:57] --> free_beard (~mircea@unaffiliated/free-beard/x-6152516) has joined this channel.
2296‎[10:57] ‎<‎cocreature‎>‎ jonge: you can mostly ignore the -conduit part
2297‎[10:57] ‎<‎merijn‎>‎ jonge: xml-conduit is still nice
2298‎[10:57] ‎<‎cocreature‎>‎ it’s there but I’ve never used it
2299‎[10:57] ‎<‎jonge‎>‎ ok i see. thank you, i will give it a try.
2300‎[10:57] ‎<‎jonge‎>‎ thank you both ertes-w and cocreature
2301‎[10:58] ‎<‎merijn‎>‎ jonge, ertes-w: Although I have to admit it doesn't work well if you have a fixed schema
2302‎[10:58] ‎<‎merijn‎>‎ xml-conduit is more for schemaless XML and scraping data
2303‎[10:58] ‎<‎merijn‎>‎ Since it has no validation, etc.
2304‎[10:58] ‎<‎ertes-w‎>‎ well, the best way to handle XML is to convert it to JSON
2305‎[10:58] --> butts_butts (~buttsbutt@212.91.226.211) has joined this channel.
2306‎[10:58] ‎<‎merijn‎>‎ jonge: FWIW, I used it's little brother html-conduit (which has basically the same API) for scraping webcomics, so it works fine for small documents too :)
2307‎[10:59] ‎<‎jonge‎>‎ hehe i see. thx for the input. :)
2308‎[10:59] ‎<‎ertes-w‎>‎ i've come to think of XML as "enterprise" bullshit
2309‎[10:59] ‎<‎jonge‎>‎ ertes-w: i agree. but the api i need to use is an xml one.
2310‎[10:59] --> whald (~trem@ip5f5b384b.dynamic.kabel-deutschland.de) has joined this channel.
2311‎[11:00] <-- araujo (~araujo@unaffiliated/araujo) has left this server (Quit: Leaving).
2312‎[11:00] <-- DuncanT1 (~DuncanT@185.38.150.115) has left this server.
2313‎[11:00] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 246 seconds).
2314‎[11:01] ‎<‎ertes-w‎>‎ jonge: xml-conduit should serve you well there, though as merijn points out you'll basically have to extract the data yourself
2315‎[11:01] ‎<‎jonge‎>‎ ertes-w: i guess that will be fine. all the api calls will give me certain fields of data i'm interested in - and if these don't work i am fucked anyway.
2316‎[11:02] ‎<‎ertes-w‎>‎ jonge: there is also xml-lens, which could help with the extraction part, but you'll have to check whether it still works… last update was in 2015
2317‎[11:03] --> leat (~leat@94.181.191.107) has joined this channel.
2318‎[11:04] <-- xtreak (~xtreak@182.73.135.26) has left this server (Read error: Connection reset by peer).
2319‎[11:05] --> xtreak (~xtreak@182.73.135.26) has joined this channel.
2320‎[11:05] --> Ahmuck (~Ahmuck@185.38.150.115) has joined this channel.
2321‎[11:05] <-- whald (~trem@ip5f5b384b.dynamic.kabel-deutschland.de) has left this server (Remote host closed the connection).
2322‎[11:05] --> `Guest00000 (~user@37.113.156.86) has joined this channel.
2323‎[11:06] --> danthemyth (~danthemyt@c-73-135-109-146.hsd1.wv.comcast.net) has joined this channel.
2324‎[11:07] <-- Stanley00 (7645d214@gateway/web/freenode/ip.118.69.210.20) has left this server (Ping timeout: 260 seconds).
2325‎[11:09] --> Xion_ (~kaon@host109-148-117-160.range109-148.btcentralplus.com) has joined this channel.
2326‎[11:10] <-- louispan (~textual@14-203-219-236.static.tpgi.com.au) has left this server (Quit: louispan).
2327‎[11:11] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Remote host closed the connection).
2328‎[11:11] <-- free_beard (~mircea@unaffiliated/free-beard/x-6152516) has left this server (Remote host closed the connection).
2329‎[11:13] <-- Itkovian (~Itkovian@193.190.88.251) has left this server (Ping timeout: 240 seconds).
2330‎[11:14] --> Itkovian (~Itkovian@193.190.88.251) has joined this channel.
2331‎[11:14] --> mr_sm1th (~quassel@5ED4F634.cm-7-5d.dynamic.ziggo.nl) has joined this channel.
2332‎[11:14] <-- Xion_ (~kaon@host109-148-117-160.range109-148.btcentralplus.com) has left this server (Ping timeout: 258 seconds).
2333‎[11:15] <-- fizruk (~anonymous@90.201.161.14) has left this server (Quit: fizruk).
2334‎[11:15] <-- m0drzew (~Michal@193-106-245-162.noc.fibertech.net.pl) has left this server (Read error: Connection reset by peer).
2335‎[11:15] <-- mk_modrzew (~Michal@193-106-245-162.noc.fibertech.net.pl) has left this server (Read error: Connection reset by peer).
2336‎[11:16] --> Wizek_ (~Wizek@catv-89-132-132-110.catv.broadband.hu) has joined this channel.
2337‎[11:16] --> oish (~charlie@host81-130-206-144.in-addr.btopenworld.com) has joined this channel.
2338‎[11:16] --> Wizek (uid191769@gateway/web/irccloud.com/x-brflskdxbrcawrjw) has joined this channel.
2339‎[11:17] --> augur (~augur@2601:645:c100:1132:d008:6756:1053:5c35) has joined this channel.
2340‎[11:18] <-- danthemyth (~danthemyt@c-73-135-109-146.hsd1.wv.comcast.net) has left this server (Ping timeout: 255 seconds).
2341‎[11:18] <-- neon_icon (~neon_icon@96.44.145.19) has left this server (Ping timeout: 255 seconds).
2342‎[11:19] --> mizu_no_oto_work (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has joined this channel.
2343‎[11:20] <-- mizu_no_oto_work (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has left this server (Client Quit).
2344‎[11:22] --> ub (~ub@ip5b405526.dynamic.kabel-deutschland.de) has joined this channel.
2345‎[11:23] <-- dfeuer (~dfeuer@wikimedia/Dfeuer) has left this server (Ping timeout: 264 seconds).
2346‎[11:24] <-- xtreak (~xtreak@182.73.135.26) has left this server (Read error: Connection reset by peer).
2347‎[11:24] --> xtreak_ (~xtreak@182.73.135.26) has joined this channel.
2348‎[11:25] <-- pfurla (~textual@ool-182ed51a.dyn.optonline.net) has left this server (Quit: My MacBook Pro has gone to sleep. ZZZzzz…).
2349‎[11:25] <-- Scip (~scip@76.121.6.102) has left this server (Ping timeout: 255 seconds).
2350‎[11:25] <-- nahra (~user@unaffiliated/nahra) has left this server (Remote host closed the connection).
2351‎[11:26] --> louispan (~textual@14-203-219-236.static.tpgi.com.au) has joined this channel.
2352‎[11:28] <-- xtreak_ (~xtreak@182.73.135.26) has left this server (Read error: Connection reset by peer).
2353‎[11:28] --> xtreak (~xtreak@182.73.135.26) has joined this channel.
2354‎[11:29] --> pedroteo[m] (pedroteoma@gateway/shell/matrix.org/x-kpxrrmgtkjtrrlmv) has joined this channel.
2355‎[11:29] <-- louispan (~textual@14-203-219-236.static.tpgi.com.au) has left this server (Client Quit).
2356‎[11:30] <-- Itkovian (~Itkovian@193.190.88.251) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
2357‎[11:30] --> emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has joined this channel.
2358‎[11:30] <-- yeeve (~y_@141.170.12.36) has left this server (Ping timeout: 248 seconds).
2359‎[11:31] <-- andyhuzhill (~Thunderbi@14.23.45.178) has left this server (Quit: andyhuzhill).
2360‎[11:32] ‎* ‎hackagebot‎‎ data-diverse-lens 0.4.0.0 – Isos & Lens for Data.Diverse.Many and Prisms for Data.Diverse.Which – https://hackage.haskell.org/package/data-diverse-lens
2361‎[11:32] --> leee (~leee@contents-vnder-pressvre.mit.edu) has joined this channel.
2362‎[11:32] --> cioran89 (~cioran89@p5DDF0DE6.dip0.t-ipconnect.de) has joined this channel.
2363‎[11:32] --> cschneid_ (~cschneid@2603:300b:901:300:29e7:aa1:dcd1:b979) has joined this channel.
2364‎[11:33] <-- agjacome (~agjacome@176.red-79-153-29.dynamicip.rima-tde.net) has left this server (Ping timeout: 255 seconds).
2365‎[11:34] ‎<‎michalrus‎>‎ nshepperd: oooooh! It is! Map.generateA. Thank you. :]
2366‎[11:34] <-- emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has left this server (Ping timeout: 240 seconds).
2367‎[11:35] --> nahra (~user@unaffiliated/nahra) has joined this channel.
2368‎[11:35] --> petermw (~pw410@global-185-15.nat-2.net.cam.ac.uk) has joined this channel.
2369‎[11:35] --> mantasg (~mantasg@78-32-231-9.static.enta.net) has joined this channel.
2370‎[11:35] --> agjacome (~agjacome@176.red-79-153-29.dynamicip.rima-tde.net) has joined this channel.
2371‎[11:37] <-- cschneid_ (~cschneid@2603:300b:901:300:29e7:aa1:dcd1:b979) has left this server (Ping timeout: 246 seconds).
2372‎[11:38] --> shafox_ (~pbehera@125.18.28.214) has joined this channel.
2373‎[11:38] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
2374‎[11:38] <-- hans2 (~hans@179.7.220.158) has left this server (Ping timeout: 246 seconds).
2375‎[11:38] --> dhil (~dhil@dhcp-90-078.inf.ed.ac.uk) has joined this channel.
2376‎[11:39] <-- twandy (~Thunderbi@cas-fw-sta.inet.casair.net) has left this server (Ping timeout: 258 seconds).
2377‎[11:42] <-- shafox (~pbehera@125.18.28.214) has left this server (Ping timeout: 255 seconds).
2378‎[11:42] *** shafox_ is now known as shafox.
2379‎[11:43] --> LeanderK (~textual@2a00:1398:9:fb03:ac35:fbe3:5dee:5f95) has joined this channel.
2380‎[11:45] <-- LeanderK (~textual@2a00:1398:9:fb03:ac35:fbe3:5dee:5f95) has left this server (Client Quit).
2381‎[11:46] <-- gxt (~gxt@2a02:908:e851:4020:e944:1039:184c:d59f) has left this server (Ping timeout: 255 seconds).
2382‎[11:46] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
2383‎[11:46] --> emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has joined this channel.
2384‎[11:46] --> cdg (~cdg@2600:1700:3120:40e0:2c29:cca6:7478:41b3) has joined this channel.
2385‎[11:46] --> LeanderK (~textual@2a00:1398:9:fb03:140a:9f98:93b1:ced9) has joined this channel.
2386‎[11:48] --> Itkovian (~Itkovian@zorspro.ugent.be) has joined this channel.
2387‎[11:49] --> danthemyth (~danthemyt@c-73-135-109-146.hsd1.wv.comcast.net) has joined this channel.
2388‎[11:49] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Remote host closed the connection).
2389‎[11:51] --> yeeve (~y_@141.170.12.36) has joined this channel.
2390‎[11:51] <-- emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has left this server (Ping timeout: 255 seconds).
2391‎[11:51] <-- cdg (~cdg@2600:1700:3120:40e0:2c29:cca6:7478:41b3) has left this server (Ping timeout: 255 seconds).
2392‎[11:51] <-- LeanderK (~textual@2a00:1398:9:fb03:140a:9f98:93b1:ced9) has left this server (Client Quit).
2393‎[11:52] ‎* ‎hackagebot‎‎ tasty-dejafu 0.7.0.2 – Deja Fu support for the Tasty test framework. – https://hackage.haskell.org/package/tasty-dejafu
2394‎[11:52] ‎* ‎hackagebot‎‎ hunit-dejafu 0.7.0.2 – Deja Fu support for the HUnit test framework. – https://hackage.haskell.org/package/hunit-dejafu
2395‎[11:53] --> raingloom (~raingloom@client-129-117.wifi.elte.hu) has joined this channel.
2396‎[11:55] ‎<‎mantasg‎>‎ Hi guys. I'm trying to do heap profiling focusing on certain modules but having little success so far.
2397‎[11:55] ‎<‎mantasg‎>‎ First of all I compiled my application using "stack build -- my-application --profile"
2398‎[11:55] ‎<‎mantasg‎>‎ Then I'm trying to run "stack exec -- my-application +RTS -hmApplication" where Application is the module name. However that doesn't write out *.hp file as I would expect. Using -h flag produces output but it doesn't limit results to one module I'm interested in.
2399‎[11:56] ‎<‎mantasg‎>‎ Does anyone have experience with memory profiling that could help me?
2400‎[11:56] <-- KoH (~kane@p200300DE5BE2DF006CC362BA6E013B06.dip0.t-ipconnect.de) has left this server (Ping timeout: 255 seconds).
2401‎[11:58] --> fizruk (~anonymous@90.201.106.150) has joined this channel.
2402‎[11:59] <-- zero_byte (zer0@nat/redhat/x-kirsmdzhnqrlgvkj) has left this server (Ping timeout: 248 seconds).
2403‎[11:59] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
2404‎[12:00] --> tobhe (~tobhe@141.84.69.94) has joined this channel.
2405‎[12:05] --> eliasr (uid27497@gateway/web/irccloud.com/x-ayfcvgkibpdbjohq) has joined this channel.
2406‎[12:06] --> Bhootrk_ (~Bhootrk_@118.189.203.83) has joined this channel.
2407‎[12:06] <-- Bhootrk_ (~Bhootrk_@118.189.203.83) has left this server (Max SendQ exceeded).
2408‎[12:07] --> A1206 (5093f0e4@gateway/web/cgi-irc/kiwiirc.com/ip.80.147.240.228) has joined this channel.
2409‎[12:08] <-- fragamus (~textual@2602:306:3a1a:87a0:c010:90f6:a4e6:817a) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
2410‎[12:08] --> Xion_ (~kaon@host109-148-117-160.range109-148.btcentralplus.com) has joined this channel.
2411‎[12:09] <-- A1206 (5093f0e4@gateway/web/cgi-irc/kiwiirc.com/ip.80.147.240.228) has left this server (Client Quit).
2412‎[12:09] --> KoH (~kane@p200300DE5BEE9400EAE50FBE78747C0F.dip0.t-ipconnect.de) has joined this channel.
2413‎[12:09] <-- Mon_Ouie (~Mon_Ouie@subtle/user/MonOuie) has left this server (Ping timeout: 255 seconds).
2414‎[12:11] <-- Durbley (~Durbley@c-73-148-179-151.hsd1.fl.comcast.net) has left this server (Read error: Connection reset by peer).
2415‎[12:14] <-- cioran89 (~cioran89@p5DDF0DE6.dip0.t-ipconnect.de) has left this server (Remote host closed the connection).
2416‎[12:14] --> zero_byte (zer0@nat/redhat/x-humbxckeorlltsuy) has joined this channel.
2417‎[12:15] --> ejay (~edwin@public-gprs351801.centertel.pl) has joined this channel.
2418‎[12:15] --> louispan (~textual@14-203-219-236.static.tpgi.com.au) has joined this channel.
2419‎[12:15] <-- befuddled (~befuddled@106.51.109.84) has left this server (Quit: Computer has gone to sleep.).
2420‎[12:16] --> befuddled (~befuddled@106.51.109.84) has joined this channel.
2421‎[12:17] --> cschneid_ (~cschneid@2603:300b:901:300:acd0:6acd:193c:771f) has joined this channel.
2422‎[12:18] <-- raingloom (~raingloom@client-129-117.wifi.elte.hu) has left this server (Ping timeout: 258 seconds).
2423‎[12:18] --> fragamus (~textual@2602:306:3a1a:87a0:c010:90f6:a4e6:817a) has joined this channel.
2424‎[12:18] --> LeanderK (~textual@2a00:1398:9:fb03:ec0d:7d13:b202:4714) has joined this channel.
2425‎[12:20] <-- renzhi (~renzhi@114.84.168.12) has left this server (Ping timeout: 255 seconds).
2426‎[12:20] --> science (~science@138.68.93.0) has joined this channel.
2427‎[12:20] --> soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has joined this channel.
2428‎[12:20] <-- floe-catfish (~paul@195.158.103.119) has left this server (Ping timeout: 246 seconds).
2429‎[12:21] ‎<‎science‎>‎ hi all wtf is this code doing ?
2430‎[12:21] <-- cschneid_ (~cschneid@2603:300b:901:300:acd0:6acd:193c:771f) has left this server (Ping timeout: 246 seconds).
2431‎[12:21] --> sfcg (~sfcg@79.97.176.188) has joined this channel.
2432‎[12:21] ‎<‎science‎>‎ >length' xs = sum [1 | _ <- xs]
2433‎[12:21] --> harfangk (~quassel@218.144.179.230) has joined this channel.
2434‎[12:22] ‎<‎science‎>‎ there lambdabot
2435‎[12:22] ‎<‎science‎>‎ ??
2436‎[12:22] ‎<‎fakenullie‎>‎ looks like some educational implementation of length
2437‎[12:23] ‎<‎science‎>‎ fakenullie: it is a snippet from learn you haskell book
2438‎[12:23] ‎<‎science‎>‎ I am not understanding that
2439‎[12:23] ‎<‎tsahyt‎>‎ science: it creates a list of 1s, one 1 for each element in xs, and then sums them up
2440‎[12:23] ‎<‎tsahyt‎>‎ so it's the length of xs
2441‎[12:23] ‎<‎fakenullie‎>‎ read about list comprehensions
2442‎[12:23] <-- neoncontrails (~neoncontr@2602:306:31a7:a1a0:fd17:7ef1:e246:a275) has left this server (Remote host closed the connection).
2443‎[12:23] <-- LeanderK (~textual@2a00:1398:9:fb03:ec0d:7d13:b202:4714) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
2444‎[12:24] ‎<‎Cale‎>‎ > [1 | x <- ["hello", "there", "world"]]
2445‎[12:24] ‎<‎lambdabot‎>‎ [1,1,1]
2446‎[12:24] ‎<‎Cale‎>‎ > [1 | _ <- ["hello", "there", "world"]]
2447‎[12:24] ‎<‎lambdabot‎>‎ [1,1,1]
2448‎[12:24] ‎<‎tsahyt‎>‎ > sum (map (\_ -> 1) xs)
2449‎[12:24] ‎<‎lambdabot‎>‎ error:
2450‎[12:24] ‎<‎lambdabot‎>‎ • Variable not in scope: xs :: [a0]
2451‎[12:24] ‎<‎lambdabot‎>‎ • Perhaps you meant one of these:
2452‎[12:24] --> simukis_ (~simukis_@78-60-58-6.static.zebra.lt) has joined this channel.
2453‎[12:24] ‎<‎tsahyt‎>‎ yes
2454‎[12:24] ‎<‎tsahyt‎>‎ > sum (map (\_ -> 1) [1..10])
2455‎[12:24] <-- soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has left this server (Ping timeout: 240 seconds).
2456‎[12:24] ‎<‎lambdabot‎>‎ 10
2457‎[12:24] ‎<‎cocreature‎>‎ mantasg: afaik you can’t limit profiling to specific modules
2458‎[12:25] ‎<‎tsahyt‎>‎ although I think this isn't exactly what it desugars to, but it's equivalent
2459‎[12:25] ‎<‎mantasg‎>‎ cocreature: but the GHC docs (https://downloads.haskell.org/~ghc/8.0.2/docs/html/users_guide/profiling.html) say: "-hm ⟨module⟩ Restrict the profile to closures produced by the specified modules."
2460‎[12:26] ‎<‎ertes-w‎>‎ science: to the left of '<-' is a pattern, and patterns always support the unnamed wildcard '_'
2461‎[12:26] ‎<‎tsahyt‎>‎ > sum ([1..10] >>= \_ -> return 1)
2462‎[12:26] ‎<‎lambdabot‎>‎ 10
2463‎[12:26] ‎<‎tsahyt‎>‎ I think this should be it
2464‎[12:26] <-- soareschen (~soares@118.189.177.119) has left this server (Ping timeout: 240 seconds).
2465‎[12:26] --> quobo (uid178934@gateway/web/irccloud.com/x-hdsnfidzpbwytbge) has joined this channel.
2466‎[12:26] ‎<‎fakenullie‎>‎ > foldr (+1) 0 "Hello, world!"
2467‎[12:26] ‎<‎lambdabot‎>‎ error:
2468‎[12:26] ‎<‎lambdabot‎>‎ • Couldn't match type ‘Char’ with ‘b -> b’
2469‎[12:26] ‎<‎lambdabot‎>‎ Expected type: [b -> b]
2470‎[12:26] ‎<‎cocreature‎>‎ mantasg: oh ok, wasn’t aware of that feature. sry not sure what’s going wrong for you
2471‎[12:27] ‎<‎mantasg‎>‎ Yeah, I'm a bit baffled. The modules i'm trying to profile are in library, not executable
2472‎[12:27] ‎<‎mantasg‎>‎ Maybe something to do with that
2473‎[12:27] ‎<‎science‎>‎ > length' xs = [1 | _ <- ["hello","haskell"]
2474‎[12:27] ‎<‎lambdabot‎>‎ <hint>:1:12: error:
2475‎[12:27] ‎<‎lambdabot‎>‎ parse error on input ‘=’
2476‎[12:27] ‎<‎lambdabot‎>‎ Perhaps you need a 'let' in a 'do' block?
2477‎[12:28] ‎<‎science‎>‎ > length' xs = [1 | _ <- ["hello","haskell"]]
2478‎[12:28] ‎<‎lambdabot‎>‎ <hint>:1:12: error:
2479‎[12:28] ‎<‎lambdabot‎>‎ parse error on input ‘=’
2480‎[12:28] ‎<‎lambdabot‎>‎ Perhaps you need a 'let' in a 'do' block?
2481‎[12:28] <-- harfangk (~quassel@218.144.179.230) has left this server (Quit: No Ping reply in 180 seconds.).
2482‎[12:28] ‎<‎science‎>‎ Thanks all I understand but I get some error
2483‎[12:28] ‎<‎ertes-w‎>‎ > let length' xs = [1 | _ <- ["hello", "haskell"] ] in length' ["this", "list", "is", "unrelated"]
2484‎[12:28] <-- _rht (uid86914@gateway/web/irccloud.com/x-tggnnxoidyjmgdbt) has left this server (Quit: Connection closed for inactivity).
2485‎[12:28] ‎<‎lambdabot‎>‎ [1,1]
2486‎[12:29] --> raingloom (~raingloom@client-129-117.wifi.elte.hu) has joined this channel.
2487‎[12:29] <-- simukis_ (~simukis_@78-60-58-6.static.zebra.lt) has left this server (Ping timeout: 240 seconds).
2488‎[12:29] ‎<‎Cale‎>‎ science: lambdabot needs expressions, if you want to give it declarations, prefix them with @let
2489‎[12:29] --> harfangk (~quassel@218.144.179.230) has joined this channel.
2490‎[12:29] ‎<‎science‎>‎ >let length' xs = [1 | _ <- ["hello","haskell"]]
2491‎[12:29] ‎<‎Cale‎>‎ (or you can use let <decls> in <expr> )
2492‎[12:29] <-- dustinm (~dustinm@68.ip-149-56-14.net) has left this server (Quit: Leaving).
2493‎[12:29] ‎<‎Cale‎>‎ @let length' xs = [1 | _ <- xs]
2494‎[12:30] ‎<‎lambdabot‎>‎ Defined.
2495‎[12:30] ‎<‎science‎>‎ >@let length' xs = [1 | _ <- ["hello","haskell"]]
2496‎[12:30] ‎<‎science‎>‎ why like that Cale
2497‎[12:30] ‎<‎Cale‎>‎ No >
2498‎[12:30] ‎<‎science‎>‎ @let length' xs = [1 | _ <- ["hello","haskell"]]
2499‎[12:30] ‎<‎lambdabot‎>‎ .L.hs:164:1: warning: [-Woverlapping-patterns]
2500‎[12:30] ‎<‎lambdabot‎>‎ Pattern match is redundant
2501‎[12:30] ‎<‎lambdabot‎>‎ In an equation for ‘length'’: length' xs = ...
2502‎[12:30] ‎<‎Cale‎>‎ Just because lambdabot commands normally start with @
2503‎[12:30] ‎<‎Cale‎>‎ Ah, that's an error now, because I defined length' already for you
2504‎[12:30] ‎<‎Cale‎>‎ @undefine -- we can clear the definitions like this
2505‎[12:30] ‎<‎lambdabot‎>‎ There's currently no way to undefine just one thing. Say @undefine (with no extra words) to undefine everything.
2506‎[12:30] ‎<‎Cale‎>‎ @undefine
2507‎[12:30] ‎<‎lambdabot‎>‎ Undefined.
2508‎[12:30] ‎<‎Ferdirand‎>‎ > foldr (const (+1)) 0 "Hello, world!"
2509‎[12:30] ‎<‎lambdabot‎>‎ 13
2510‎[12:31] --> dustinm (~dustinm@68.ip-149-56-14.net) has joined this channel.
2511‎[12:32] --> floe-catfish (~paul@195.158.103.119) has joined this channel.
2512‎[12:33] <-- erisco (~erisco@198-84-159-71.cpe.teksavvy.com) has left this server (Read error: Connection reset by peer).
2513‎[12:34] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Remote host closed the connection).
2514‎[12:35] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
2515‎[12:35] <-- augur (~augur@2601:645:c100:1132:d008:6756:1053:5c35) has left this server (Remote host closed the connection).
2516‎[12:37] ‎<‎Profpatsch‎>‎ I wonder how the auhor of LYAH feels about it being constantly bashed by people
2517‎[12:37] ‎<‎Profpatsch‎>‎ *author
2518‎[12:39] --> talios (~quassel@118.149.102.140) has joined this channel.
2519‎[12:39] --> oisdk (~textual@51-171-255-121-dynamic.agg2.dyx.chf-qkr.eircom.net) has joined this channel.
2520‎[12:40] <-- louispan (~textual@14-203-219-236.static.tpgi.com.au) has left this server (Quit: louispan).
2521‎[12:40] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Remote host closed the connection).
2522‎[12:41] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
2523‎[12:42] --> soareschen (~soares@118.189.177.119) has joined this channel.
2524‎[12:43] ‎<‎mivael‎>‎ Guys, I need a little help with Parsec please...
2525‎[12:43] ‎<‎mivael‎>‎ Is there a (sepBy)-like function with additional (count)-like functionality in Text.Parsec? Or I need to write my own?
2526‎[12:43] ‎<‎mivael‎>‎ I mean that I would want to parse exactly thisMany instances specified by parserElem, so that any two neighboring instances are separated by single delimiter specified by parserDelim.
2527‎[12:44] --> locallycompact (~lc@167.98.27.226) has joined this channel.
2528‎[12:44] --> Archrover (Archrover@dog.waw.pl.eu.panicbnc.net) has joined this channel.
2529‎[12:45] ‎<‎cocreature‎>‎ mivael: you’re probably going to have to write your own
2530‎[12:47] ‎<‎cocreature‎>‎ mivael: take a look at the implementation of sepBy and sepBy1. if you modify them to use "count" instead of "many" you should get what you want
2531‎[12:47] ‎<‎cocreature‎>‎ (and some special handling for the zero case)
2532‎[12:48] ‎<‎mauke‎>‎ nSepBy 0 _ _ = pure []; nSepBy 1 p _ = fmap (: []) p; nSepBy n p sep = liftA2 (:) p (sep *> nSepBy (n - 1) p sep)
2533‎[12:48] ‎<‎michalrus‎>‎ “IO version of newTChan. This is useful for creating top-level TChans using unsafePerformIO, because using atomically inside unsafePerformIO isn't possible.â€
2534‎[12:48] ‎<‎michalrus‎>‎ Why are they even suggesting that? :(
2535‎[12:50] ‎<‎Cale‎>‎ michalrus: Well, I wouldn't take it as a suggestion :)
2536‎[12:50] ‎<‎Cale‎>‎ But if you ever actually find yourself backed into that corner, it's better than nothing.
2537‎[12:50] ‎<‎michalrus‎>‎ Hm, hmmmm.
2538‎[12:51] ‎<‎michalrus‎>‎ OK. :]
2539‎[12:51] <-- science (~science@138.68.93.0) has left this server (Quit: WeeChat 1.4).
2540‎[12:51] --> Mon_Ouie (~Mon_Ouie@subtle/user/MonOuie) has joined this channel.
2541‎[12:51] <-- ejay (~edwin@public-gprs351801.centertel.pl) has left this server (Remote host closed the connection).
2542‎[12:52] --> saurabhnanda (~saurabhna@45.116.2.210) has joined this channel.
2543‎[12:54] --> araujo (~araujo@unaffiliated/araujo) has joined this channel.
2544‎[12:54] <-- saurabhn_ (~saurabhna@45.116.2.210) has left this server (Ping timeout: 240 seconds).
2545‎[12:55] <-- talios (~quassel@118.149.102.140) has left this server (Quit: bed time).
2546‎[12:55] ‎<‎cocreature‎>‎ getting global variables by unsafePerformIOing their initialization can be tempting but it usually comes back to bite you (as global variables usually do)
2547‎[12:56] <-- `Guest00000 (~user@37.113.156.86) has left this server (Ping timeout: 248 seconds).
2548‎[12:56] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
2549‎[13:00] ‎<‎mivael‎>‎ cocreature, it was a nice idea to look into the sources. Thank you. On the other hand, now I have more questions than before :) I mean that I do not understand how this sepBy implementation works with <|> byt without (try ...).
2550‎[13:01] ‎<‎mivael‎>‎ mauke, I like how it looks! Struggling to understand the "liftA2 (:)" part so far...
2551‎[13:01] --> `Guest00000 (~user@37.113.156.86) has joined this channel.
2552‎[13:01] --> louispan (~textual@14-203-219-236.static.tpgi.com.au) has joined this channel.
2553‎[13:01] <-- slomo (~slomo@unaffiliated/slomo) has left this server (Read error: Connection reset by peer).
2554‎[13:01] --> Snircle (~textual@2600:8801:c404:7900:d171:79a8:88b0:120c) has joined this channel.
2555‎[13:01] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 246 seconds).
2556‎[13:02] ‎<‎mivael‎>‎ mauke, understood. Thank you very much!
2557‎[13:02] ‎<‎Cale‎>‎ mivael: liftA2 (:) x y = do v <- x; vs <- y; return (v:vs)
2558‎[13:02] ‎<‎mauke‎>‎ mivael: liftA2 f px py = do { x <- px; y <- py; return (f x y) } basically, more or less
2559‎[13:02] --> slomo (~slomo@31-152-153-83.mobile.amp.cosmote.net) has joined this channel.
2560‎[13:02] <-- slomo (~slomo@31-152-153-83.mobile.amp.cosmote.net) has left this server (Changing host).
2561‎[13:02] --> slomo (~slomo@unaffiliated/slomo) has joined this channel.
2562‎[13:02] <-- Xorlev (sid226@gateway/web/irccloud.com/x-wawdbxfcvqxuuvgi) has left this server (Ping timeout: 260 seconds).
2563‎[13:02] ‎<‎mivael‎>‎ yeah, got it already
2564‎[13:02] <-- gareth__ (uid240321@gateway/web/irccloud.com/x-bjdyrmpqhbfhpaqq) has left this server (Ping timeout: 252 seconds).
2565‎[13:02] ‎<‎tdammers‎>‎ the problem isn't just that they're global
2566‎[13:02] <-- angular_mike___ (sid45533@gateway/web/irccloud.com/x-sjbymsbxnhfporqg) has left this server (Ping timeout: 248 seconds).
2567‎[13:02] <-- jml (sid162989@gateway/web/irccloud.com/x-mgzfgwptyuiaxpzq) has left this server (Ping timeout: 248 seconds).
2568‎[13:03] <-- vuto (~vuto@116.118.104.236) has left this server (Ping timeout: 240 seconds).
2569‎[13:03] ‎<‎tdammers‎>‎ if you have multiple threads accessing that variable, you may even end up with multiple TChans
2570‎[13:03] <-- adelbertc (sid26183@gateway/web/irccloud.com/x-obwpumwkvshlehbv) has left this server (Ping timeout: 255 seconds).
2571‎[13:03] <-- billstclair (sid77830@gateway/web/irccloud.com/x-vpghwuixikofdjyl) has left this server (Ping timeout: 248 seconds).
2572‎[13:03] <-- fragamus (~textual@2602:306:3a1a:87a0:c010:90f6:a4e6:817a) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
2573‎[13:03] ‎<‎mivael‎>‎ cocreature, s/byt without/but without/
2574‎[13:03] <-- lumimies (sid18496@gateway/web/irccloud.com/x-njqxgxdggvuohpvd) has left this server (Ping timeout: 255 seconds).
2575‎[13:03] <-- olligobber (~olligobbe@unaffiliated/olligobber) has left this server (Quit: Leaving).
2576‎[13:04] --> asdfoiawe (~quassel@200116b862f58b0003d2bde59b60c322.dip.versatel-1u1.de) has joined this channel.
2577‎[13:04] <-- AlainODea (sid22011@gateway/web/irccloud.com/x-ihbftkqhcokxovcs) has left this server (Ping timeout: 246 seconds).
2578‎[13:04] <-- OliPicard (sid88086@gateway/web/irccloud.com/x-flzhhbzaawltzcyl) has left this server (Ping timeout: 248 seconds).
2579‎[13:04] --> lumimies (sid18496@gateway/web/irccloud.com/x-gaqldrwcnvrxfhnz) has joined this channel.
2580‎[13:05] --> OliPicard (sid88086@gateway/web/irccloud.com/x-wnpaadkwaxocrfue) has joined this channel.
2581‎[13:05] --> billstclair (sid77830@gateway/web/irccloud.com/x-uqkyjovhqhmgfzub) has joined this channel.
2582‎[13:05] ‎<‎cocreature‎>‎ mivael: sepBy leaves the responsibility of wrapping things in try to the user, i.e., the parser that are passed to it
2583‎[13:06] <-- `Guest00000 (~user@37.113.156.86) has left this server (Ping timeout: 240 seconds).
2584‎[13:06] ‎<‎cocreature‎>‎ so you’re completely right that if those parsers consume input on failure, sepBy will consume that input as well
2585‎[13:06] --> Xorlev (sid226@gateway/web/irccloud.com/x-epcsviaosrrlemta) has joined this channel.
2586‎[13:06] --> angular_mike___ (sid45533@gateway/web/irccloud.com/x-yxhepuygudzmjlle) has joined this channel.
2587‎[13:06] ‎<‎mivael‎>‎ cocreature, understood
2588‎[13:06] --> tsaka__ (~torstein@2001:700:300:4030:12f6:7c56:e222:1f55) has joined this channel.
2589‎[13:07] --> AlainODea (sid22011@gateway/web/irccloud.com/x-hxolnzjyornurtpp) has joined this channel.
2590‎[13:07] --> jml (sid162989@gateway/web/irccloud.com/x-wrvamnifcqijiazz) has joined this channel.
2591‎[13:07] ‎<‎cocreature‎>‎ eh actually I think I’m wrong, if those parsers consume input on failure, sepBy will fail as well
2592‎[13:07] <-- agjacome (~agjacome@176.red-79-153-29.dynamicip.rima-tde.net) has left this server (Ping timeout: 246 seconds).
2593‎[13:07] ‎<‎cocreature‎>‎ since <|> only uses the right side if the left fails without consuming input
2594‎[13:07] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Remote host closed the connection).
2595‎[13:08] ‎<‎phadej‎>‎ depends on the library, whether it backtracks automically or not
2596‎[13:08] ‎<‎cocreature‎>‎ right, we’re talking about parsec here
2597‎[13:08] --> adelbertc (sid26183@gateway/web/irccloud.com/x-flipjykzwtojzrjr) has joined this channel.
2598‎[13:10] <-- zero_byte (zer0@nat/redhat/x-humbxckeorlltsuy) has left this server (Ping timeout: 248 seconds).
2599‎[13:11] <-- mj_k (~mj_k@59.10.109.21) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
2600‎[13:15] <-- Tesseraction (~Tesseract@unaffiliated/tesseraction) has left this server (Read error: Connection reset by peer).
2601‎[13:16] ‎<‎mivael‎>‎ cocreature, now I'm confused. Do you think the sepBy implementation won't work even if its users wrap the arguments in 'try'?
2602‎[13:18] <-- slomo (~slomo@unaffiliated/slomo) has left this server (Read error: Connection reset by peer).
2603‎[13:18] --> slomo (~slomo@31-152-153-83.mobile.amp.cosmote.net) has joined this channel.
2604‎[13:18] <-- slomo (~slomo@31-152-153-83.mobile.amp.cosmote.net) has left this server (Changing host).
2605‎[13:18] --> slomo (~slomo@unaffiliated/slomo) has joined this channel.
2606‎[13:19] --> tobiasBora2 (~leo@bornebora.crans.org) has joined this channel.
2607‎[13:21] ‎<‎cocreature‎>‎ mivael: it depends on what you mean by work: 1. if the parsers that you pass to sepBy fail but consume input, then sepBy will fail as well instead of returning zero elements 2. if the parsers that you pass to sepBy fail without consuming input (e.g. because you’ve wrapped them in "try") sepBy will return an empty list
2608‎[13:21] <-- tsaka__ (~torstein@2001:700:300:4030:12f6:7c56:e222:1f55) has left this server (Ping timeout: 246 seconds).
2609‎[13:21] <-- dhil (~dhil@dhcp-90-078.inf.ed.ac.uk) has left this server (Ping timeout: 240 seconds).
2610‎[13:21] --> lingeeal (~user@78-57-193-120.static.zebra.lt) has joined this channel.
2611‎[13:21] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
2612‎[13:23] --> zero_byte (zer0@nat/redhat/x-vpmsodaizbrvzvpa) has joined this channel.
2613‎[13:26] ‎<‎mivael‎>‎ cocreature, behaviour #2 is consistent with my understanding of "work" :) my understanding of consequences of behaviour #1 is that using sepBy with non-wrapped parsers must be avoided
2614‎[13:27] ‎<‎cocreature‎>‎ mivael: you might have a parser that sometimes fails without consuming input but if a certain prefix of it matches, you want it to be an error for the rest to not be present
2615‎[13:27] --> Apocalisp (~textual@172.110.61.179) has joined this channel.
2616‎[13:27] --> petercommand (~peter@conehub.com) has joined this channel.
2617‎[13:28] ‎<‎cocreature‎>‎ so instead of simply parsing an empty list, you want to produce an error in that case
2618‎[13:28] <-- petercommand (~peter@conehub.com) has left this server (Changing host).
2619‎[13:28] --> petercommand (~peter@unaffiliated/petercommand) has joined this channel.
2620‎[13:28] <-- xormor (~xormor@unaffiliated/xormor) has left this server (Quit: Leaving).
2621‎[13:32] --> simukis_ (~simukis_@78-60-58-6.static.zebra.lt) has joined this channel.
2622‎[13:32] ‎<‎[exa]‎>‎ Hm guys, is there some reasonable library/framework for parsing&processing sparql queries?
2623‎[13:32] --> Xion__ (~kaon@199.201.66.3) has joined this channel.
2624‎[13:33] ‎<‎[exa]‎>‎ (target: I have a non-rdf data source and want to make it discoverable)
2625‎[13:33] <-- Xion_ (~kaon@host109-148-117-160.range109-148.btcentralplus.com) has left this server (Ping timeout: 240 seconds).
2626‎[13:33] --> deba5e12 (~oblivia@109.202.107.5) has joined this channel.
2627‎[13:33] --> lukaramu (~lukaramu@port-18498.pppoe.wtnet.de) has joined this channel.
2628‎[13:34] ‎<‎hexagoxel‎>‎ is it specified how MMR/defaulting works with non-*-kinded types? i just noticed an instance of ts :: [*] getting defaulted to '[].
2629‎[13:35] --> salva0 (~salva@88.12.19.210) has joined this channel.
2630‎[13:36] --> Thra11 (~Thra11@37.58.58.231) has joined this channel.
2631‎[13:36] <-- simukis_ (~simukis_@78-60-58-6.static.zebra.lt) has left this server (Ping timeout: 255 seconds).
2632‎[13:36] --> simukis (~simukis_@213.197.144.250) has joined this channel.
2633‎[13:36] <-- orion (~orion@unaffiliated/orion) has left this server (Quit: "").
2634‎[13:37] --> soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has joined this channel.
2635‎[13:40] <-- danthemyth (~danthemyt@c-73-135-109-146.hsd1.wv.comcast.net) has left this server (Remote host closed the connection).
2636‎[13:40] --> orion (~orion@unaffiliated/orion) has joined this channel.
2637‎[13:40] <-- fizruk (~anonymous@90.201.106.150) has left this server (Quit: fizruk).
2638‎[13:40] ‎<‎mivael‎>‎ cocreature, can the following example be regarded as an example of practical usage of the behaviour? Say, we are parsing decimal integers, separated by a comma. The parser of an integer fails with consuming input if the number of digits exceeds certain value. Thus, sepBy will also fail.
2639‎[13:40] ‎<‎cocreature‎>‎ mivael: yeah that seems like a good example
2640‎[13:41] --> mekeor (~mekeor@pd907e085.dip0.t-ipconnect.de) has joined this channel.
2641‎[13:43] --> fizruk (~anonymous@90.201.106.150) has joined this channel.
2642‎[13:43] --> Skeptik (~mpoma@office.exabyte.be) has joined this channel.
2643‎[13:44] <-- befuddled (~befuddled@106.51.109.84) has left this server (Quit: Computer has gone to sleep.).
2644‎[13:44] <-- mantasg (~mantasg@78-32-231-9.static.enta.net) has left this server (Quit: Going offline, see ya! (www.adiirc.com)).
2645‎[13:44] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Remote host closed the connection).
2646‎[13:45] <-- merijn (~merijn@wcw-staff-145-18-165-136.wireless.uva.nl) has left this server (Quit: leaving).
2647‎[13:46] --> merijn (~merijn@wcw-staff-145-18-165-136.wireless.uva.nl) has joined this channel.
2648‎[13:46] ‎<‎hexagoxel‎>‎ and, if it is not specified, is that not bad? seems straightforward to construct examples where different choices all type-check but have different behaviour.
2649‎[13:46] --> JeanCarloMachado (~jean@186.222.6.65) has joined this channel.
2650‎[13:47] --> emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has joined this channel.
2651‎[13:47] <-- raingloom (~raingloom@client-129-117.wifi.elte.hu) has left this server (Ping timeout: 240 seconds).
2652‎[13:47] <-- rribeiro (~rribeiro@200.239.179.136) has left this server.
2653‎[13:48] <-- salva0 (~salva@88.12.19.210) has left this server (Quit: Leaving).
2654‎[13:48] --> Denommus (~user@unaffiliated/denommus) has joined this channel.
2655‎[13:50] <-- shafox (~pbehera@125.18.28.214) has left this server (Quit: shafox).
2656‎[13:51] <-- emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has left this server (Ping timeout: 248 seconds).
2657‎[13:51] --> raingloom (~raingloom@client-129-117.wifi.elte.hu) has joined this channel.
2658‎[13:53] <-- freusque (~fre@2001:660:5301:24:eddd:55e5:cb99:be30) has left this server (Quit: WeeChat 1.7.1).
2659‎[13:56] --> sepp2k (~sepp2k@pcclt32.isp.uni-luebeck.de) has joined this channel.
2660‎[13:56] <-- butts_butts (~buttsbutt@212.91.226.211) has left this server (Remote host closed the connection).
2661‎[13:56] <-- nighty- (~nighty@kyotolabs.asahinet.com) has left this server (Quit: Disappears in a puff of smoke).
2662‎[13:57] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
2663‎[13:58] <-- xtreak (~xtreak@182.73.135.26) has left this server (Remote host closed the connection).
2664‎[13:59] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
2665‎[13:59] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Remote host closed the connection).
2666‎[14:00] <-- Ahmuck (~Ahmuck@185.38.150.115) has left this server.
2667‎[14:00] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
2668‎[14:00] --> danthemyth (~danthemyt@c-73-135-109-146.hsd1.wv.comcast.net) has joined this channel.
2669‎[14:02] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 240 seconds).
2670‎[14:02] <-- cyphase (~cyphase@unaffiliated/cyphase) has left this server (Ping timeout: 258 seconds).
2671‎[14:03] --> coot____________ (~coot@94.185.189.146) has joined this channel.
2672‎[14:03] --> xtreak (~xtreak@182.73.135.26) has joined this channel.
2673‎[14:03] <-- Chobbes (~Chobbes@198-48-133-98.cpe.pppoe.ca) has left this server (Ping timeout: 240 seconds).
2674‎[14:03] <-- chirpsalot (~Chirps@unaffiliated/chirpsalot) has left this server (Ping timeout: 240 seconds).
2675‎[14:03] <-- coot____________ (~coot@94.185.189.146) has left this server (Client Quit).
2676‎[14:04] <-- whoisxy (~whoisxy@82.112.145.25) has left this server (Quit: Lost terminal).
2677‎[14:05] --> moet (~moet@d-173-44-92-193.cpe.metrocast.net) has joined this channel.
2678‎[14:05] --> noirin (~noirin@184.75.221.3) has joined this channel.
2679‎[14:06] ‎<‎hexagoxel‎>‎ (ah, it might be nothing more than a bug in 8.0.2)
2680‎[14:07] --> cyphase (~cyphase@unaffiliated/cyphase) has joined this channel.
2681‎[14:07] --> emilypi (~emilypi@pool-100-33-104-88.nycmny.fios.verizon.net) has joined this channel.
2682‎[14:08] --> tsaka__ (~torstein@2001:700:300:400b:757e:658c:4269:ea92) has joined this channel.
2683‎[14:09] --> dhil (~dhil@dhcp-90-078.inf.ed.ac.uk) has joined this channel.
2684‎[14:10] <-- floe-catfish (~paul@195.158.103.119) has left this server (Quit: Leaving.).
2685‎[14:10] --> floe-catfish_ (~floe-catf@195.158.103.119) has joined this channel.
2686‎[14:11] <-- floe-catfish_ (~floe-catf@195.158.103.119) has left this server (Client Quit).
2687‎[14:11] --> floe-catfish (~anonymous@195.158.103.119) has joined this channel.
2688‎[14:11] --> twandy (~Thunderbi@cas-fw-sta.inet.casair.net) has joined this channel.
2689‎[14:12] --> mj_k (~mj_k@59.10.109.21) has joined this channel.
2690‎[14:12] <-- zero_byte (zer0@nat/redhat/x-vpmsodaizbrvzvpa) has left this server (Remote host closed the connection).
2691‎[14:13] <-- mj_k (~mj_k@59.10.109.21) has left this server (Client Quit).
2692‎[14:13] <-- plutoniix (~q@175.176.222.7) has left this server (Quit: Leaving).
2693‎[14:15] <-- deba5e12 (~oblivia@109.202.107.5) has left this server (Quit: WeeChat 1.9.1).
2694‎[14:15] --> valentinbuza (~valentinb@unaffiliated/valentinbuza) has joined this channel.
2695‎[14:15] <-- forgottenone (~forgotten@176.40.61.88) has left this server (Ping timeout: 240 seconds).
2696‎[14:15] --> deba5e12 (~oblivia@109.202.107.5) has joined this channel.
2697‎[14:15] <-- louispan (~textual@14-203-219-236.static.tpgi.com.au) has left this server (Quit: louispan).
2698‎[14:16] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Remote host closed the connection).
2699‎[14:16] --> louispan (~textual@14-203-219-236.static.tpgi.com.au) has joined this channel.
2700‎[14:16] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
2701‎[14:17] --> tc101-06 (~tc101-06@143.93.66.137) has joined this channel.
2702‎[14:17] --> mizu_no_oto_work (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has joined this channel.
2703‎[14:17] --> freusque (~fre@84.39.112.106) has joined this channel.
2704‎[14:18] <-- mizu_no_oto_work (~textual@c-24-60-15-130.hsd1.ma.comcast.net) has left this server (Client Quit).
2705‎[14:19] --> ziocroc (~ziocroc@151.74.89.206) has joined this channel.
2706‎[14:19] --> Psybur (~broheim@static-70-109-53-144.clppva.fios.verizon.net) has joined this channel.
2707‎[14:19] --> void1 (~void@unaffiliated/strangemk2) has joined this channel.
2708‎[14:20] --> zero_byte (zer0@nat/redhat/x-ibefeomqdzffbpin) has joined this channel.
2709‎[14:23] ‎* ‎hackagebot‎‎ derive-topdown 0.0.0.7 – Help Haskellers derive class instances for composited data types. – https://hackage.haskell.org/package/derive-topdown
2710‎[14:24] <-- dan_f (~dan@24.148.32.207) has left this server (Quit: dan_f).
2711‎[14:24] <-- void1 (~void@unaffiliated/strangemk2) has left this server (Quit: WeeChat 1.4).
2712‎[14:26] --> Scip (~scip@76.121.6.102) has joined this channel.
2713‎[14:26] <-- tc101-06 (~tc101-06@143.93.66.137) has left this server (Quit: Verlassend).
2714‎[14:27] --> HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has joined this channel.
2715‎[14:28] --> refold (~refold@194.74.96.250) has joined this channel.
2716‎[14:30] <-- freusque (~fre@84.39.112.106) has left this server (Ping timeout: 240 seconds).
2717‎[14:30] --> dsh (~daishi@64.237.40.140) has joined this channel.
2718‎[14:30] --> ziyourenxiang (~ziyourenx@unaffiliated/ziyourenxiang) has joined this channel.
2719‎[14:31] --> Chobbes (~Chobbes@198-48-133-98.cpe.pppoe.ca) has joined this channel.
2720‎[14:32] <-- dhil (~dhil@dhcp-90-078.inf.ed.ac.uk) has left this server (Ping timeout: 240 seconds).
2721‎[14:32] <-- floe-catfish (~anonymous@195.158.103.119) has left this server (Quit: floe-catfish).
2722‎[14:32] <-- louispan (~textual@14-203-219-236.static.tpgi.com.au) has left this server (Quit: louispan).
2723‎[14:33] <-- Scip (~scip@76.121.6.102) has left this server (Ping timeout: 248 seconds).
2724‎[14:33] --> floe-catfish (~anonymous@195.158.103.119) has joined this channel.
2725‎[14:34] --> dminuoso_ (~norc_@pool-151.44.186.91.dynamic.wobline-ip.de) has joined this channel.
2726‎[14:34] --> lev1athan (~nspain@103.55.47.198) has joined this channel.
2727‎[14:34] --> Wuzzy (~Wuzzy@p5790EDC3.dip0.t-ipconnect.de) has joined this channel.
2728‎[14:34] ‎<‎dminuoso_‎>‎ Does Void contain _|_?
2729‎[14:34] <-- tobiasBora2 (~leo@bornebora.crans.org) has left this server (Quit: WeeChat 1.9.1).
2730‎[14:34] ‎<‎merijn‎>‎ dminuoso_: Yes
2731‎[14:35] --> dddddd (~dddddd@unaffiliated/dddddd) has joined this channel.
2732‎[14:35] ‎<‎merijn‎>‎ dminuoso_: _|_ is a member of every type
2733‎[14:35] ‎<‎dminuoso_‎>‎ merijn: ah, that explains why `absurd bottom` typechecks.
2734‎[14:35] --> fearless_man (makudesu@gateway/shell/insomnia247/x-cfsjpepfvalduxhg) has joined this channel.
2735‎[14:35] ‎<‎fearless_man‎>‎ what is the offtopic for haskell?
2736‎[14:35] ‎<‎merijn‎>‎ dminuoso_: In fact, the only way to get rid of that is to sacrifice Turing completeness :)
2737‎[14:35] ‎<‎dminuoso_‎>‎ merijn: Yeah, was just curious whether Void was special in that regard.
2738‎[14:35] <-- SAL9000 (~znc@101.187.171.220) has left this server (Ping timeout: 240 seconds).
2739‎[14:35] ‎<‎merijn‎>‎ fearless_man: Depends on how busy it is :p
2740‎[14:35] --> SAL9000_ (~znc@1.125.104.198) has joined this channel.
2741‎[14:36] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
2742‎[14:36] ‎<‎merijn‎>‎ fearless_man: Anything tangentially related to functional programming, type theory, programming, and occasionally category theory works
2743‎[14:36] <-- jophish (~jophish@62.254.100.227) has left this server (Quit: leaving).
2744‎[14:36] --> jophish (~jophish@62.254.100.227) has joined this channel.
2745‎[14:36] ‎<‎fearless_man‎>‎ merijn: I'm asking for the name of the channel =)
2746‎[14:36] ‎<‎dminuoso_‎>‎ merijn: so `absurd` is not so absurd after all. I mean if Void is not empty, then absurd is not the empty function
2747‎[14:36] ‎<‎merijn‎>‎ fearless_man: Oh #haskell-blah or #haskell-offtopic
2748‎[14:37] ‎<‎fearless_man‎>‎ merijn: are you joined there?
2749‎[14:37] ‎<‎merijn‎>‎ fearless_man: Both for me :p
2750‎[14:38] ‎<‎fearless_man‎>‎ I just want to ask non-haskell but related to fp
2751‎[14:38] <-- alienaut (~alienaut@94.122.158.120) has left this server (Quit: alienaut).
2752‎[14:38] <-- lev1athan (~nspain@103.55.47.198) has left this server (Client Quit).
2753‎[14:38] <-- soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has left this server (Remote host closed the connection).
2754‎[14:38] --> jay___ (~jay@117.246.76.221) has joined this channel.
2755‎[14:38] --> soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has joined this channel.
2756‎[14:40] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 255 seconds).
2757‎[14:40] --> lev1athan (~user@103.55.47.198) has joined this channel.
2758‎[14:40] <-- lev1athan (~user@103.55.47.198) has left this server (Remote host closed the connection).
2759‎[14:40] <-- Sigyn (sigyn@freenode/utility-bot/sigyn) has left this server (Quit: NO HEARTBEAT, NO SERVICE.).
2760‎[14:41] --> chirpsalot (~Chirps@unaffiliated/chirpsalot) has joined this channel.
2761‎[14:41] <-- nickolay_ (~quassel@178.155.4.49) has left this server (Ping timeout: 248 seconds).
2762‎[14:42] <-- moet (~moet@d-173-44-92-193.cpe.metrocast.net) has left this server (Ping timeout: 240 seconds).
2763‎[14:42] --> alienaut (~alienaut@94.122.158.120) has joined this channel.
2764‎[14:42] --> yonson (~yonson@212.121.131.210) has joined this channel.
2765‎[14:43] --> Sigyn (sigyn@freenode/utility-bot/sigyn) has joined this channel.
2766‎[14:43] <-- yonson (~yonson@212.121.131.210) has left this channel.
2767‎[14:43] *** SAL9000_ is now known as SAL9000.
2768‎[14:43] --> gxt (~gxt@b2b-78-94-156-186.unitymedia.biz) has joined this channel.
2769‎[14:44] --> lev1athan (~nspain@103.55.47.198) has joined this channel.
2770‎[14:45] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
2771‎[14:45] <-- tripoli (~tripoli@nyc.tunnelr.com) has left this server (Quit: tripoli).
2772‎[14:45] ‎<‎tdammers‎>‎ dminuoso_: Void, like all Haskell types, is a lie
2773‎[14:45] ‎<‎tdammers‎>‎ dminuoso_: exactly because of bottom
2774‎[14:45] <-- cranej (~cranej@42.120.74.203) has left this server (Ping timeout: 260 seconds).
2775‎[14:46] ‎<‎merijn‎>‎ tdammers: But it's a morally correct lie!
2776‎[14:46] ‎<‎tdammers‎>‎ dminuoso_: so when we say "Void is the empty type", we do so in the understanding that we're pretending bottoms don't exist
2777‎[14:46] ‎<‎tdammers‎>‎ merijn: in order to decide that, we first need to derive formal ethics
2778‎[14:47] ‎<‎tdammers‎>‎ merijn: but in order to do that, we first need to show that our method for deriving formal ethics is morally correct
2779‎[14:47] --> Scip (~scip@76.121.6.102) has joined this channel.
2780‎[14:48] ‎<‎DigitalKiwi‎>‎ since when is programming about morals
2781‎[14:49] ‎* ‎hackagebot‎‎ async-refresh-tokens 0.3.0.1 – Package implementing core logic for refreshing of expiring access tokens – https://hackage.haskell.org/package/async-refresh-tokens
2782‎[14:49] ‎<‎cocreature‎>‎ at some point I should read that paper in the hope that it makes it’s more than suffisticated handwaving
2783‎[14:49] ‎<‎cocreature‎>‎ *sophisticated
2784‎[14:49] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Ping timeout: 246 seconds).
2785‎[14:50] <-- raingloom (~raingloom@client-129-117.wifi.elte.hu) has left this server (Quit: WeeChat 1.9.1).
2786‎[14:50] ‎<‎merijn‎>‎ DigitalKiwi: It's a reference to a paper
2787‎[14:50] <-- chirpsalot (~Chirps@unaffiliated/chirpsalot) has left this server (Ping timeout: 255 seconds).
2788‎[14:51] ‎<‎merijn‎>‎ cocreature: It *is* a bit more than sophisticated handwaving
2789‎[14:51] <-- Chobbes (~Chobbes@198-48-133-98.cpe.pppoe.ca) has left this server (Ping timeout: 248 seconds).
2790‎[14:51] ‎<‎DigitalKiwi‎>‎ it's highly sophisticated hand waving
2791‎[14:51] --> xormor_ (~xormor@unaffiliated/xormor) has joined this channel.
2792‎[14:51] --> stevenxl (uid133530@gateway/web/irccloud.com/x-emfyzevnoipvcpzx) has joined this channel.
2793‎[14:51] ‎<‎Psybur‎>‎ Whats this paper
2794‎[14:52] ‎<‎cocreature‎>‎ “fast and loose reasoning is morally correctâ€
2795‎[14:52] --> cpennington (~cpenningt@pool-108-7-186-67.bstnma.fios.verizon.net) has joined this channel.
2796‎[14:52] <-- Jesin (~Jesin@pool-72-83-138-15.washdc.fios.verizon.net) has left this server (Quit: Leaving).
2797‎[14:53] ‎<‎stevenxl‎>‎ Hi folks. In a haskell project, what is a "target"? Someone said that a Haskell project can have multiple targets and I'm not sure what that means.
2798‎[14:53] <-- govg (~govg@unaffiliated/govg) has left this server (Ping timeout: 240 seconds).
2799‎[14:53] ‎<‎merijn‎>‎ cocreature: Basically the argument boils down to "the conclussion arrived at by pretending your language is total always hold in the non-total version, assuming non-bottom inputs"
2800‎[14:53] --> sphinxo (~sphinxo@212.36.174.139) has joined this channel.
2801‎[14:53] ‎<‎cocreature‎>‎ merijn: that does indeed seem like a reasonable argument
2802‎[14:53] ‎<‎merijn‎>‎ cocreature: So it proves that proves based on handwaving away bottom are actually true, if none of your inputs are bottoms
2803‎[14:53] <-- HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has left this server (Remote host closed the connection).
2804‎[14:53] ‎<‎merijn‎>‎ s/proves based/proofs based
2805‎[14:53] <-- Scip (~scip@76.121.6.102) has left this server (Ping timeout: 246 seconds).
2806‎[14:54] <-- soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has left this server (Remote host closed the connection).
2807‎[14:54] --> tripoli (~tripoli@cpe-66-68-33-237.austin.res.rr.com) has joined this channel.
2808‎[14:54] --> govg (~govg@unaffiliated/govg) has joined this channel.
2809‎[14:54] ‎<‎tdammers‎>‎ stevenxl: a project might, for example, contain a library, a test suite, and one or more executables
2810‎[14:55] ‎<‎merijn‎>‎ cocreature: So it's basically a paper proving the transferability of proofs in a total subset to the original language is valid, as long as we add conditions about non-bottom inputs to the transferred proofs
2811‎[14:55] ‎<‎tdammers‎>‎ stevenxl: http://hackage.haskell.org/package/ginger-0.7.1.0/ginger.cabal <- look at this, for example
2812‎[14:56] ‎<‎mauke‎>‎ stevenxl: something that can be built
2813‎[14:56] --> MarcelineVQ (~anja@S01069050ca2f4f83.no.shawcable.net) has joined this channel.
2814‎[14:56] ‎<‎tdammers‎>‎ three targets: library (implicitly named ginger, like the project), an executable (also named ginger, but explicitly), and a test suite
2815‎[14:56] --> Myrl-saki (~myrl@unaffiliated/myrl) has joined this channel.
2816‎[14:56] <-- raynold (uid201163@gateway/web/irccloud.com/x-gqjhcocwhyncmrte) has left this server (Quit: Connection closed for inactivity).
2817‎[14:56] ‎<‎stevenxl‎>‎ tdammers: Thank you. Very clear example.
2818‎[14:56] <-- sword865 (uid208942@gateway/web/irccloud.com/x-vgfveehbleinppxx) has left this server (Quit: Connection closed for inactivity).
2819‎[14:56] ‎<‎merijn‎>‎ tdammers: You forgot that a package can have multiple test-suites (and also multiple benchmark suites)
2820‎[14:56] ‎<‎stevenxl‎>‎ So the idea is that each of those targets can be compiled yes?
2821‎[14:57] ‎<‎mauke‎>‎ the name probably derives from https://www.gnu.org/software/make/manual/make.html#Rule-Introduction
2822‎[14:57] --> SAL9000_ (~znc@101.187.171.220) has joined this channel.
2823‎[14:58] ‎<‎byorgey‎>‎ stevenxl: yes, each of them can be built in some way, which probably involves compilation
2824‎[14:58] --> romanix (~romanix@staticline10864.toya.net.pl) has joined this channel.
2825‎[14:59] --> HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has joined this channel.
2826‎[14:59] <-- tripoli (~tripoli@cpe-66-68-33-237.austin.res.rr.com) has left this server (Ping timeout: 264 seconds).
2827‎[14:59] ‎<‎stevenxl‎>‎ i see.
2828‎[14:59] --> bjin (~bjin@unaffiliated/bjin) has joined this channel.
2829‎[14:59] ‎<‎stevenxl‎>‎ Thank you @byorgey @mauke @tdammers
2830‎[15:00] --> cdg (~cdg@2600:1700:3120:40e0:dc3:28e6:1ba1:f959) has joined this channel.
2831‎[15:00] --> tobiasBora (~tobiasBor@zamok.crans.org) has joined this channel.
2832‎[15:00] <-- bjin (~bjin@unaffiliated/bjin) has left this channel ("Leaving").
2833‎[15:00] ‎<‎tobiasBora‎>‎ Hello,
2834‎[15:00] ‎<‎tobiasBora‎>‎ I'd like to know,
2835‎[15:00] --> vuto (~vuto@42.116.160.153) has joined this channel.
2836‎[15:00] --> gareth__ (uid240321@gateway/web/irccloud.com/x-dnbwhgrbbjivbpeo) has joined this channel.
2837‎[15:01] ‎<‎tobiasBora‎>‎ I've a function f that goes into "Either String a"
2838‎[15:01] ‎<‎hexagoxel‎>‎ stevenxl: also note the term "component". target is just the component you choose to build.
2839‎[15:01] ‎<‎hexagoxel‎>‎ at least that's what the cabal user guide uses..
2840‎[15:01] <-- SAL9000 (~znc@1.125.104.198) has left this server (Ping timeout: 260 seconds).
2841‎[15:02] ‎<‎stevenxl‎>‎ hexagoxel: Thank you. Yea I'm all about using the correct language. If that is what is in common usage, very helpful to know.
2842‎[15:02] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
2843‎[15:03] <-- XorSwap (~XorSwap@199.254.238.206) has left this server (Ping timeout: 240 seconds).
2844‎[15:03] ‎<‎sphinxo‎>‎ Best way to create a list like [0,0,1] from ["a", "b", "c"] and "c"
2845‎[15:04] <-- zero_byte (zer0@nat/redhat/x-ibefeomqdzffbpin) has left this server (Ping timeout: 240 seconds).
2846‎[15:04] ‎<‎hexagoxel‎>‎ map (boolToInt . (=="c"))
2847‎[15:04] ‎<‎tobiasBora‎>‎ I've a function f that goes into "Either String a" and I'd like to use it in a structure that needs to output "IO (Either String b)". For now I do a very dirty thing with like "let a = f ... in case a of Left e -> return e; Right s -> ..." is it possible to write a better code ?
2848‎[15:05] ‎<‎sphinxo‎>‎ hexagoxel: boolToInt?
2849‎[15:05] <-- Myrl-saki (~myrl@unaffiliated/myrl) has left this server (Ping timeout: 255 seconds).
2850‎[15:05] ‎<‎lyxia‎>‎ tobiasBora: ExceptT
2851‎[15:05] <-- rribeiro (~rribeiro@200.239.179.136) has left this server (Remote host closed the connection).
2852‎[15:06] <-- oisdk (~textual@51-171-255-121-dynamic.agg2.dyx.chf-qkr.eircom.net) has left this server (Quit: Textual IRC Client: www.textualapp.com).
2853‎[15:06] ‎<‎hexagoxel‎>‎ sphinxo: e.g. fromEnum
2854‎[15:06] --> Psybur_ (~broheim@static-70-109-53-144.clppva.fios.verizon.net) has joined this channel.
2855‎[15:06] *** SAL9000_ is now known as SAL9000.
2856‎[15:06] --> nicknight (~ubuntu@unaffiliated/nicknight) has joined this channel.
2857‎[15:06] ‎<‎hexagoxel‎>‎ > map (fromEnum . (=="c")) ["a", "b", "c"]
2858‎[15:06] ‎<‎nicknight‎>‎ hi guys
2859‎[15:06] ‎<‎lambdabot‎>‎ [0,0,1]
2860‎[15:07] ‎<‎sphinxo‎>‎ ahh wonderful, that makes sense
2861‎[15:07] ‎<‎sphinxo‎>‎ thanks
2862‎[15:07] ‎<‎tobiasBora‎>‎ lyxia: this means that I need to replace all my IO with exceptT ???
2863‎[15:08] ‎* ‎hackagebot‎‎ saltine 0.1.0.0 – Cryptography that's easy to digest (NaCl/libsodium bindings). – https://hackage.haskell.org/package/saltine
2864‎[15:08] <-- raichoo (~raichoo@office02.saltation.de) has left this server (Ping timeout: 240 seconds).
2865‎[15:08] <-- jay___ (~jay@117.246.76.221) has left this server (Ping timeout: 248 seconds).
2866‎[15:09] <-- Psybur (~broheim@static-70-109-53-144.clppva.fios.verizon.net) has left this server (Ping timeout: 240 seconds).
2867‎[15:09] <-- lkolstad (~ljk@c-24-16-12-195.hsd1.wa.comcast.net) has left this server (Quit: WeeChat 1.9).
2868‎[15:10] ‎<‎cocreature‎>‎ tobiasBora: if you only have that one case statement, just go with it. ExceptT is useful if you have a lot of "IO (Either e a)" and want to shortcircuit on Left. for a single case statement, there’s basically no benefit
2869‎[15:10] --> crobbins (~crobbins@2602:30a:c08e:19e0:aaf7:790b:6148:469e) has joined this channel.
2870‎[15:11] --> joomy (~joomy@c-73-142-151-191.hsd1.ct.comcast.net) has joined this channel.
2871‎[15:11] ‎<‎tobiasBora‎>‎ cocreature: Well, I have a lot of them, but my code has been constructed everywhere using "IO (Either e a)", so I'm wondering if I need to change all my code or not.
2872‎[15:12] ‎<‎cocreature‎>‎ if you want the behavior of ExceptT, you’re going to have to change your code
2873‎[15:12] --> ystael (~ystael@50-199-243-61-static.hfc.comcastbusiness.net) has joined this channel.
2874‎[15:12] <-- lassulus (~lass@static.247.114.4.46.clients.your-server.de) has left this server (Remote host closed the connection).
2875‎[15:12] --> lassulus (~lass@lassul.us) has joined this channel.
2876‎[15:13] --> Big_G (~Big_G@71-35-178-5.tukw.qwest.net) has joined this channel.
2877‎[15:13] ‎<‎merijn‎>‎ How do readFile/hGetContents deal with platform specific newlines?
2878‎[15:13] ‎<‎merijn‎>‎ Do they get converted or do I get some random ass mix of \r and \n ?
2879‎[15:14] <-- jhrcek (jhrcek@nat/redhat/x-gmmcocbuzyifnofj) has left this server (Quit: Leaving).
2880‎[15:14] ‎<‎tobiasBora‎>‎ cocreature: Hum... Can I use runExceptT (ExceptT (...)) to have what I want ?
2881‎[15:14] ‎<‎cocreature‎>‎ tobiasBora: that’s a noop
2882‎[15:14] ‎<‎cocreature‎>‎ tobiasBora: you need to get GHC to use the Monad instance of ExceptT
2883‎[15:14] ‎<‎tobiasBora‎>‎ what does it mean ?
2884‎[15:14] ‎<‎cocreature‎>‎ noop = doesn’t do anything
2885‎[15:15] ‎<‎xormor_‎>‎ NOOP in assembly.
2886‎[15:16] ‎<‎xormor_‎>‎ NoOp=No Operation
2887‎[15:16] --> LeanderK (~textual@2a00:1398:9:fb03:cda7:ce06:dcf4:51db) has joined this channel.
2888‎[15:16] --> iAmerikan (~dwshrewt@unaffiliated/iamerikan) has joined this channel.
2889‎[15:16] <-- xtreak (~xtreak@182.73.135.26) has left this server (Remote host closed the connection).
2890‎[15:16] ‎<‎dminuoso_‎>‎ xormor_: in assembly there is no noop technically. :|
2891‎[15:16] ‎<‎nicknight‎>‎ damn I feel so dumbb......I didn't realise x <- [1,2,3] is same same x ∈ [1,2,3] for one week I thought it is weird syntax but now I understand haskell very close to maths
2892‎[15:16] --> nighty- (~nighty@s229123.ppp.asahi-net.or.jp) has joined this channel.
2893‎[15:16] ‎<‎[exa]‎>‎ nop = advance IP to next instruction
2894‎[15:17] ‎<‎dminuoso_‎>‎ ^-
2895‎[15:18] --> xtreak (~xtreak@182.73.135.26) has joined this channel.
2896‎[15:19] --> zero_byte (zer0@nat/redhat/x-ueuyiqnqqpgmkyzj) has joined this channel.
2897‎[15:20] --> andyo (~andy@63.228.117.97) has joined this channel.
2898‎[15:20] <-- vuto (~vuto@42.116.160.153) has left this server (Ping timeout: 240 seconds).
2899‎[15:21] <-- HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has left this server (Read error: Connection reset by peer).
2900‎[15:21] <-- AxelAlex (~AxelAlex@dynamic-addr-130-13.resnet.rochester.edu) has left this server (Quit: AxelAlex).
2901‎[15:21] --> HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has joined this channel.
2902‎[15:21] <-- LeanderK (~textual@2a00:1398:9:fb03:cda7:ce06:dcf4:51db) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
2903‎[15:22] --> raichoo (~raichoo@office02.saltation.de) has joined this channel.
2904‎[15:22] ‎<‎tobiasBora‎>‎ cocreature: So I can't turn back an ExceptT into an IO (Either String a) ?
2905‎[15:23] ‎<‎hexagoxel‎>‎ :t runExceptT
2906‎[15:23] ‎<‎lambdabot‎>‎ ExceptT e m a -> m (Either e a)
2907‎[15:23] ‎<‎hexagoxel‎>‎ tobiasBora: ^
2908‎[15:23] --> LeanderK (~textual@2a00:1398:9:fb03:6062:6f3:1ba8:dc08) has joined this channel.
2909‎[15:24] <-- leat (~leat@94.181.191.107) has left this server (Quit: WeeChat 1.9).
2910‎[15:25] ‎<‎tdammers‎>‎ merijn: true. was giving examples, not an exhaustive list of possibilities.
2911‎[15:26] ‎<‎tobiasBora‎>‎ hexagoxel: I don't understand, cocreature just told me that using runExceptT is a "NOOP"
2912‎[15:27] <-- HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has left this server (Ping timeout: 248 seconds).
2913‎[15:27] ‎<‎hexagoxel‎>‎ tobiasBora: runExceptT . ExceptT is the noop
2914‎[15:27] --> Chobbes (~Chobbes@198-48-133-98.cpe.pppoe.ca) has joined this channel.
2915‎[15:28] <-- LeanderK (~textual@2a00:1398:9:fb03:6062:6f3:1ba8:dc08) has left this server (Client Quit).
2916‎[15:28] --> whoisxy (~whoisxy@82.112.145.25) has joined this channel.
2917‎[15:28] ‎<‎hexagoxel‎>‎ runExceptT $ do { … ; ExceptT … ; … } is not
2918‎[15:28] --> alanb99 (~alan@195.11.191.3) has joined this channel.
2919‎[15:28] --> agjacome (~agjacome@176.red-79-153-29.dynamicip.rima-tde.net) has joined this channel.
2920‎[15:29] <-- alanb99 (~alan@195.11.191.3) has left this channel.
2921‎[15:29] --> vuto (~vuto@42.116.160.153) has joined this channel.
2922‎[15:29] --> HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has joined this channel.
2923‎[15:30] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
2924‎[15:31] ‎<‎tobiasBora‎>‎ hexagoxel: can you give me an example when I use f : a -> Either String b; and g : c -> IO (Either String d) ? I'm not familiar with this, and my brain don't like it...
2925‎[15:31] ‎<‎hexagoxel‎>‎ b == c?
2926‎[15:32] --> ali_bush (~ali_bush@118-92-0-20.dsl.dyn.ihug.co.nz) has joined this channel.
2927‎[15:32] <-- ali_bush (~ali_bush@118-92-0-20.dsl.dyn.ihug.co.nz) has left this server (Changing host).
2928‎[15:32] --> ali_bush (~ali_bush@gentoo/developer/alibush) has joined this channel.
2929‎[15:32] ‎<‎tobiasBora‎>‎ (we can suppose that b = c, that we have a "a" value at the beginning, and that we want at the end a Either String d
2930‎[15:32] --> shafox (~pbehera@103.227.96.238) has joined this channel.
2931‎[15:33] --> liyang_ (~liyang@flets-tk1194.kamome.or.jp) has joined this channel.
2932‎[15:33] <-- robotroll (~robotroll@unaffiliated/robotroll) has left this server (Remote host closed the connection).
2933‎[15:33] <-- cyphase (~cyphase@unaffiliated/cyphase) has left this server (Ping timeout: 255 seconds).
2934‎[15:35] ‎<‎hexagoxel‎>‎ \a -> runEitherT $ do { b <- hoistEither (f a); EitherT (g b) }
2935‎[15:36] --> Boarders (56855730@gateway/web/freenode/ip.86.133.87.48) has joined this channel.
2936‎[15:36] ‎<‎hexagoxel‎>‎ using EitherT because ExceptT doesn't even have hoistEither.
2937‎[15:37] --> machinedgod (~machinedg@198-84-249-5.cpe.teksavvy.com) has joined this channel.
2938‎[15:37] <-- liyang (~liyang@flets-tk1194.kamome.or.jp) has left this server (Ping timeout: 260 seconds).
2939‎[15:38] --> Myrl-saki (~myrl@unaffiliated/myrl) has joined this channel.
2940‎[15:38] ‎<‎tobiasBora‎>‎ great thank you, I'll study this !
2941‎[15:40] --> effectfu1 (~User@101.149.c10008-a77.dsl-dynamic.vsi.ru) has joined this channel.
2942‎[15:40] --> cyphase (~cyphase@unaffiliated/cyphase) has joined this channel.
2943‎[15:40] ‎<‎hexagoxel‎>‎ tobiasBora: there are some of these minor difference in the interfaces of EitherT vs ExceptT, and i generally prefer the EitherT one. But you can make either work.
2944‎[15:40] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
2945‎[15:41] --> jay___ (~jay@117.249.135.70) has joined this channel.
2946‎[15:42] <-- HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has left this server (Read error: Connection reset by peer).
2947‎[15:42] <-- effectfully (~User@175.129.c10008-a77.dsl-dynamic.vsi.ru) has left this server (Ping timeout: 248 seconds).
2948‎[15:43] --> HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has joined this channel.
2949‎[15:43] <-- Xion__ (~kaon@199.201.66.3) has left this server (Ping timeout: 248 seconds).
2950‎[15:44] <-- Thra11 (~Thra11@37.58.58.231) has left this server (Quit: IRC for Sailfish 0.9).
2951‎[15:44] <-- Chobbes (~Chobbes@198-48-133-98.cpe.pppoe.ca) has left this server (Ping timeout: 240 seconds).
2952‎[15:45] <-- xtreak (~xtreak@182.73.135.26) has left this server.
2953‎[15:45] --> dbmikus (~dbmikus@cpe-66-108-224-204.nyc.res.rr.com) has joined this channel.
2954‎[15:45] <-- StoneToad (~StoneToad@ppp-199-167-119-213.storm.ca) has left this server (Ping timeout: 260 seconds).
2955‎[15:46] --> StoneToad (~StoneToad@ppp-199-167-119-213.storm.ca) has joined this channel.
2956‎[15:47] --> sigmundv (~sigmundv@92.251.232.231.threembb.ie) has joined this channel.
2957‎[15:48] --> Scip (~scip@76.121.6.102) has joined this channel.
2958‎[15:51] <-- harfangk (~quassel@218.144.179.230) has left this server (Ping timeout: 240 seconds).
2959‎[15:51] <-- sigmundv (~sigmundv@92.251.232.231.threembb.ie) has left this server (Ping timeout: 264 seconds).
2960‎[15:53] <-- HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has left this server (Remote host closed the connection).
2961‎[15:53] --> eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
2962‎[15:55] --> soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has joined this channel.
2963‎[15:55] --> HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has joined this channel.
2964‎[15:55] --> hans2 (~hans@179.7.220.158) has joined this channel.
2965‎[15:56] ‎<‎merijn‎>‎ Fun times...my parser gets stuck and I get to figured out why...yay...
2966‎[15:56] <-- laz (~vl@0890794675.static.corbina.ru) has left this server (Remote host closed the connection).
2967‎[15:56] --> kody^ (~pi@CPEbc4dfb732df3-CMbc4dfb732df0.cpe.net.cable.rogers.com) has joined this channel.
2968‎[15:56] --> laz (~vl@0890794675.static.corbina.ru) has joined this channel.
2969‎[15:57] --> ConTeXnician (~ConTeXnic@dyndsl-095-033-211-065.ewe-ip-backbone.de) has joined this channel.
2970‎[15:58] *** Psybur_ is now known as Psybur.
2971‎[15:58] ‎<‎osa1‎>‎ left recursion of course :-p I had once modified my parser to push a different integer to parsec's state in each parser so that I could debug when it started looping
2972‎[15:58] <-- ConTeXnician (~ConTeXnic@dyndsl-095-033-211-065.ewe-ip-backbone.de) has left this server (Client Quit).
2973‎[15:59] <-- soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has left this server (Ping timeout: 260 seconds).
2974‎[15:59] ‎<‎merijn‎>‎ osa1: Naah, I'm stuck with a dumbass parallel parsers (i.e. ReadP)
2975‎[15:59] ‎<‎osa1‎>‎ ooh, good luck then :)
2976‎[15:59] <-- connrs (~connrs@mercury.meantime.co.uk) has left this server (Ping timeout: 255 seconds).
2977‎[15:59] ‎<‎osa1‎>‎ use Debug.Trace.trace :)
2978‎[16:00] ‎<‎merijn‎>‎ I probably just hae to get rid of all uses of "many"
2979‎[16:01] --> connrs (~connrs@mercury.meantime.co.uk) has joined this channel.
2980‎[16:01] --> akh (~akh@80.71.142.66) has joined this channel.
2981‎[16:02] <-- Scip (~scip@76.121.6.102) has left this server (Ping timeout: 264 seconds).
2982‎[16:02] <-- shafox (~pbehera@103.227.96.238) has left this server (Quit: shafox).
2983‎[16:03] --> trux (~trux@157.119.218.143) has joined this channel.
2984‎[16:04] --> fvr (~user@45.116.2.210) has joined this channel.
2985‎[16:04] <-- dcoutts (~duncan@50.169.198.146.dyn.plus.net) has left this server (Ping timeout: 264 seconds).
2986‎[16:04] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
2987‎[16:05] <-- HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has left this server (Ping timeout: 258 seconds).
2988‎[16:05] --> chlong (chlong|gon@nat/redhat/x-nnghcdlrdpwzxjql) has joined this channel.
2989‎[16:05] <-- simukis (~simukis_@213.197.144.250) has left this server (Ping timeout: 240 seconds).
2990‎[16:05] ‎<‎shapr‎>‎ what's the most elegant parsing library in Haskell?
2991‎[16:06] ‎<‎merijn‎>‎ shapr: Define elegant?
2992‎[16:06] ‎<‎shapr‎>‎ coworker is asking me for something motivational to inspire him to learn Haskell
2993‎[16:06] ‎<‎merijn‎>‎ shapr: Probably Megaparsec, attoparsec, and trifecta are the main ones atm, I think
2994‎[16:06] <-- yoneda (~mike@193.206.102.122) has left this server (Quit: leaving).
2995‎[16:07] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Remote host closed the connection).
2996‎[16:07] --> shafox (~pbehera@103.227.96.238) has joined this channel.
2997‎[16:08] ‎<‎osa1‎>‎ megaparsec is pretty good
2998‎[16:08] --> bennofs (~benno@2a00:c1a0:4300:dd00:ce3d:82ff:fec6:6d58) has joined this channel.
2999‎[16:09] --> raingloom (~raingloom@client-129-117.wifi.elte.hu) has joined this channel.
3000‎[16:09] --> bodisiw (~bodiskw@128.163.8.204) has joined this channel.
3001‎[16:10] <-- shafox (~pbehera@103.227.96.238) has left this server (Client Quit).
3002‎[16:11] *** meandi_2 is now known as meandi.
3003‎[16:11] --> agander (~agander@rm-19-25-33.service.infuturo.it) has joined this channel.
3004‎[16:11] <-- mr_sm1th (~quassel@5ED4F634.cm-7-5d.dynamic.ziggo.nl) has left this server (Ping timeout: 258 seconds).
3005‎[16:12] --> conal (~conal@174.128.230.166) has joined this channel.
3006‎[16:12] ‎<‎ertes-w‎>‎ shapr: i have started turning my usual hangman exercise into a tutorial for pure interaction design
3007‎[16:12] ‎<‎ertes-w‎>‎ shapr: although it's not a tutorial into haskell
3008‎[16:13] ‎<‎shapr‎>‎ is the code online?
3009‎[16:13] --> simukis (~simukis_@213.197.144.250) has joined this channel.
3010‎[16:13] ‎<‎ertes-w‎>‎ not yet
3011‎[16:13] --> pfurla (~textual@38.86.167.91) has joined this channel.
3012‎[16:14] ‎* ‎hackagebot‎‎ viewprof 0.0.0.10 – Text-based interactive GHC .prof viewer – https://hackage.haskell.org/package/viewprof
3013‎[16:14] <-- cur8or (~cur8or@72canterbury.cybersmart.co.za) has left this server (Ping timeout: 248 seconds).
3014‎[16:15] --> hexfive (~beknowly@50.35.82.88) has joined this channel.
3015‎[16:17] <-- dminuoso_ (~norc_@pool-151.44.186.91.dynamic.wobline-ip.de) has left this channel.
3016‎[16:17] --> cement (~quassel@12.150.97.130) has joined this channel.
3017‎[16:18] ‎<‎srk‎>‎ cool
3018‎[16:19] <-- tobhe (~tobhe@141.84.69.94) has left this server (Ping timeout: 240 seconds).
3019‎[16:20] <-- iAmerikan (~dwshrewt@unaffiliated/iamerikan) has left this server (Ping timeout: 248 seconds).
3020‎[16:20] --> Jesin (~Jesin@wsip-98-187-234-122.dc.dc.cox.net) has joined this channel.
3021‎[16:21] ‎<‎nicknight‎>‎ shapr: I think you should tellyour cowroker motivation should come on own ?
3022‎[16:21] --> arborist (~arborist@62.12.154.122) has joined this channel.
3023‎[16:22] <-- revprez (~revprez@pool-108-7-200-87.bstnma.fios.verizon.net) has left this server (Quit: Lost terminal).
3024‎[16:22] ‎<‎nicknight‎>‎ I feel no one can motivate me unless I am motivated...Motivation come from our desires/goals
3025‎[16:23] ‎<‎fakenullie‎>‎ buy him the haskell book
3026‎[16:23] --> revprez (~revprez@pool-108-7-200-87.bstnma.fios.verizon.net) has joined this channel.
3027‎[16:24] <-- romanix (~romanix@staticline10864.toya.net.pl) has left this server (Ping timeout: 246 seconds).
3028‎[16:24] --> eacamero_ (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
3029‎[16:24] ‎<‎bodisiw‎>‎ can anyone help me fix `Failed to load interface for ‘Graphics.Rendering.OpenGL.Raw’`? `cabal install OpenGLRaw` says 'All the requested packages are already installed: OpenGLRaw-3.2.5.0'
3030‎[16:25] <-- eacamero_ (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Remote host closed the connection).
3031‎[16:25] <-- eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Read error: Connection reset by peer).
3032‎[16:25] ‎<‎bodisiw‎>‎ i cloned `https://github.com/dagit/nehe-tuts` and ran `stack run`
3033‎[16:25] --> eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
3034‎[16:25] ‎<‎shapr‎>‎ nicknight: that's a good point
3035‎[16:26] --> simukis_ (~simukis_@78-60-58-6.static.zebra.lt) has joined this channel.
3036‎[16:27] --> HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has joined this channel.
3037‎[16:27] --> Yotam_ (~Yotam@46-117-89-177.bb.netvision.net.il) has joined this channel.
3038‎[16:28] <-- ali_bush (~ali_bush@gentoo/developer/alibush) has left this server (Remote host closed the connection).
3039‎[16:28] ‎<‎kody^‎>‎ noob here. what's the difference between a dependent type and a higher kinded type?
3040‎[16:28] ‎<‎merijn‎>‎ kody^: Are you familiar with kind signatures, like "Maybe :: * -> *"?
3041‎[16:28] <-- Wuzzy (~Wuzzy@p5790EDC3.dip0.t-ipconnect.de) has left this server (Quit: Wuzzy).
3042‎[16:29] --> Wuzzy (~Wuzzy@p5790EDC3.dip0.t-ipconnect.de) has joined this channel.
3043‎[16:29] <-- joomy (~joomy@c-73-142-151-191.hsd1.ct.comcast.net) has left this server (Quit: joomy).
3044‎[16:29] --> miatomi (~miatomi@75-150-231-45-Illinois.hfc.comcastbusiness.net) has joined this channel.
3045‎[16:29] ‎<‎kody^‎>‎ merijn: yes
3046‎[16:29] --> xttraces (uid251744@gateway/web/irccloud.com/x-hvdfhqpnqaiuoyhy) has joined this channel.
3047‎[16:30] --> iAmerikan (~dwshrewt@unaffiliated/iamerikan) has joined this channel.
3048‎[16:30] ‎<‎merijn‎>‎ Right, so "higher-kinded" refers to "kind that take kinds other than *"
3049‎[16:30] <-- simukis (~simukis_@213.197.144.250) has left this server (Ping timeout: 248 seconds).
3050‎[16:30] ‎<‎merijn‎>‎ kody^: So "Maybe :: * -> *" only deals with things of kind *
3051‎[16:30] ‎<‎merijn‎>‎ kody^: But, for example "StateT :: * -> (* -> *) -> * -> *"
3052‎[16:31] ‎<‎merijn‎>‎ kody^: So StateT takes a type with a kind other than * (a type with kind * -> * to be precise), which makes StateT higher-kinded
3053‎[16:31] ‎<‎kody^‎>‎ merijn: so that means that Maybe takes a type and gives out a type, correct?
3054‎[16:31] ‎<‎merijn‎>‎ kody^: Correct
3055‎[16:31] --> buglebudabey (~buglebuda@node22.seg212.ucf.edu) has joined this channel.
3056‎[16:31] ‎<‎kody^‎>‎ thats the same as a dependent type, no?
3057‎[16:31] --> plutoniix (~q@node-cuw.pool-1-10.dynamic.totbb.net) has joined this channel.
3058‎[16:31] --> mmhat (~mmh@2a02:810a:12bf:e2e8:ee08:6bff:fe09:5315) has joined this channel.
3059‎[16:32] ‎<‎Yotam_‎>‎ in "instance Foo a where..." How can I force a to have type x->y?
3060‎[16:32] ‎<‎kody^‎>‎ thanks for explaining what higher-kinded means
3061‎[16:32] ‎<‎merijn‎>‎ A slightly simpler thing than StateT might be "data Foo f = MkFoo (f Int)" here 'f :: * -> *' (it's applied to Int afterall), so logically 'Foo :: (* -> *) -> *"
3062‎[16:32] <-- plutoniix (~q@node-cuw.pool-1-10.dynamic.totbb.net) has left this server (Max SendQ exceeded).
3063‎[16:32] ‎<‎ertes-w‎>‎ kody^: a dependent type is a type that takes *values*
3064‎[16:32] ‎<‎lyxia‎>‎ bodisiw: use either cabal or stack, not both
3065‎[16:32] --> plutoniix (~q@node-cuw.pool-1-10.dynamic.totbb.net) has joined this channel.
3066‎[16:33] ‎<‎bodisiw‎>‎ lyxia, i think the issue here is that this .cabal doesn't specify versions for those libraries, and the code was written against older versions
3067‎[16:33] ‎<‎ertes-w‎>‎ kody^: Vector :: Natural -> * -> * -- in a hypothetical super-haskell this would be possible… it takes both a value (a natural) and a type
3068‎[16:33] ‎<‎kody^‎>‎ ertes-w: not sure what you mean..
3069‎[16:33] <-- osa1 (~omer@haskell/developer/osa1) has left this server (Ping timeout: 246 seconds).
3070‎[16:33] ‎<‎bodisiw‎>‎ lyxia, also that advice has never worked out for me!
3071‎[16:33] ‎<‎ertes-w‎>‎ kody^: note in particular that HKTs are possible in haskell, but dependent types are not
3072‎[16:33] ‎<‎bodisiw‎>‎ especially when i clone a repo and see both stack.yaml and whatever.cabal
3073‎[16:34] ‎<‎merijn‎>‎ kody^: No, dependent types deal with the fact you can have values inside your types, which let's you write types like "{a : Int} -> if a < 3 then Bool else Int" which is a function whose type is "Int -> Bool" if the 'Int' argument is less than 3 or 'Int -> Int' if the 'Int' argument is greather than or equal to 3
3074‎[16:34] ‎<‎kody^‎>‎ ertes-w: so a dependent type is a type which has type signature Natural -> * ?
3075‎[16:34] ‎<‎mnoonan‎>‎ a type: "Int :: *", another type: "Maybe :: * -> *", a higher-kinded type: "StateT :: * -> (* -> *) -> *", a dependent type: "T :: Bool -> *"
3076‎[16:35] ‎<‎merijn‎>‎ kody^: So you can write datatypes/functions where the result type *depends* (hence the name) on the *value* passed into it
3077‎[16:35] ‎<‎merijn‎>‎ kody^: Whereas higher-kinded types can't inspect values like that (unless, of course, you have dependent higher-kinded types)
3078‎[16:35] ‎<‎lyxia‎>‎ bodisiw: The link you gave has no stack.yaml, and even if it had one it still wouldn't make sense to use both stack and cabal
3079‎[16:35] --> Arcaelyx_ (~Arcaelyx@206.190.145.84.adsl.inet-telecom.org) has joined this channel.
3080‎[16:35] ‎<‎lyxia‎>‎ bodisiw: both use the .cabal file. stack.yaml is a configuration on top of that for stack.
3081‎[16:36] ‎<‎ertes-w‎>‎ kody^: a dependent type is something of a kind that has things other than * and (->)
3082‎[16:36] ‎<‎kody^‎>‎ thanks a lot merijn and mnoonan
3083‎[16:36] ‎<‎ertes-w‎>‎ kody^: well, not quite
3084‎[16:36] ‎<‎lyxia‎>‎ bodisiw: what version of stack are you using where stack run is a command?
3085‎[16:36] --> hackebeilchen (~Peter@171-057-210-188.ip-addr.inexio.net) has joined this channel.
3086‎[16:36] ‎<‎bodisiw‎>‎ lyxia, it's the one plugin i've added to stack
3087‎[16:36] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
3088‎[16:36] ‎<‎bodisiw‎>‎ `stack build` gives the same error though
3089‎[16:36] --> marcux (~marco@179.247.132.195) has joined this channel.
3090‎[16:37] --> Chobbes (~Chobbes@198-48-133-98.cpe.pppoe.ca) has joined this channel.
3091‎[16:37] <-- Arcaelyx (~Arcaelyx@206.190.145.84.adsl.inet-telecom.org) has left this server (Ping timeout: 255 seconds).
3092‎[16:37] ‎<‎ertes-w‎>‎ kody^: a polymorphic type is a type that depends on types (something of kind * -> *, for example)… a dependent type is a type that depends on values (something (hypothetical) of kind Natural -> *)
3093‎[16:37] <-- Yotam_ (~Yotam@46-117-89-177.bb.netvision.net.il) has left this server (Quit: Leaving).
3094‎[16:37] ‎<‎merijn‎>‎ kody^: Here's a good example of how to implement a type-safe "printf" using dependent types: https://www.youtube.com/watch?v=fVBck2Zngjo
3095‎[16:38] --> joomy (~joomy@129.133.190.254) has joined this channel.
3096‎[16:38] <-- joomy (~joomy@129.133.190.254) has left this server (Client Quit).
3097‎[16:38] ‎<‎ertes-w‎>‎ kody^: one feature of a dependently typed language is that the three levels we have in haskell (values, types and kinds) are all collapsed into a single level… functions can take types as arguments, and types can take values
3098‎[16:39] ‎<‎kody^‎>‎ ah so a dependent type takes values of a type and gives out types. while a higher type can take the values as types themselves.
3099‎[16:39] ‎<‎kody^‎>‎ So a higher types are dependent types "one level above". Is this right?
3100‎[16:39] --> LeanderK (~textual@scc-wkit-clxa-1-243.scc.kit.edu) has joined this channel.
3101‎[16:39] ‎<‎lyxia‎>‎ bodisiw: add a < 2 bound on GLURaw
3102‎[16:39] ‎<‎ertes-w‎>‎ "higher-kinded type" is a bit overloaded… usually it just means any type that is not of kind *
3103‎[16:39] <-- agander (~agander@rm-19-25-33.service.infuturo.it) has left this server (Read error: Connection reset by peer).
3104‎[16:39] ‎<‎kody^‎>‎ ertes-w: i see what you mean
3105‎[16:40] --> roi_du_silence (~dragon@43-226-6-155.static.rise.as) has joined this channel.
3106‎[16:40] ‎<‎ertes-w‎>‎ we talk of HKTs mostly in the context of polymorphism: "higher-kinded polymorphism" means that you can abstract over types of kinds other than *
3107‎[16:40] <-- eschnett (~eschnett@ktnron0916w-lp130-1-65-94-201-103.dsl.bell.ca) has left this server (Quit: eschnett).
3108‎[16:40] ‎<‎ertes-w‎>‎ :t fold
3109‎[16:40] ‎<‎lambdabot‎>‎ (Monoid m, Foldable t) => t m -> m
3110‎[16:40] ‎<‎bodisiw‎>‎ lyxia, yeah OpenGLRaw >= 2 && < 3, will add GLURaw < 2 as well and see if it works
3111‎[16:40] ‎<‎ertes-w‎>‎ see how the type 't' is of kind * -> *
3112‎[16:40] --> fsvehla (~fsvehla@h081217224042.dyn.cm.kabsi.at) has joined this channel.
3113‎[16:40] <-- Big_G (~Big_G@71-35-178-5.tukw.qwest.net) has left this server (Read error: Connection reset by peer).
3114‎[16:41] <-- somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has left this server (Ping timeout: 258 seconds).
3115‎[16:43] ‎<‎kody^‎>‎ ertes-w: thank you
3116‎[16:44] --> cranej (~cranej@42.120.74.203) has joined this channel.
3117‎[16:45] <-- LeanderK (~textual@scc-wkit-clxa-1-243.scc.kit.edu) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
3118‎[16:45] ‎<‎ertes-w‎>‎ kody^: if you want to try dependent typing for yourself, you can't do that in haskell… languages with dependent types include agda and idris, where the former is more about theorem proving, while the latter is about programming
3119‎[16:46] ‎<‎bodisiw‎>‎ lyxia, working now... thanks!
3120‎[16:46] *** Arcaelyx_ is now known as Arcaelyx.
3121‎[16:46] <-- saurabhnanda (~saurabhna@45.116.2.210) has left this server (Remote host closed the connection).
3122‎[16:46] <-- Itkovian (~Itkovian@zorspro.ugent.be) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
3123‎[16:46] ‎<‎ertes-w‎>‎ the closest we get in haskell right now is the TypeInType extension
3124‎[16:47] ‎<‎ertes-w‎>‎ that collapses the three levels into two (types and kinds become the same thing)
3125‎[16:47] <-- refold (~refold@194.74.96.250) has left this server (Quit: leaving).
3126‎[16:48] --> chirpsalot (~Chirps@unaffiliated/chirpsalot) has joined this channel.
3127‎[16:49] --> survove (~quassel@69.12.80.147.adsl.inet-telecom.org) has joined this channel.
3128‎[16:49] <-- cranej (~cranej@42.120.74.203) has left this server (Ping timeout: 258 seconds).
3129‎[16:49] <-- trux (~trux@157.119.218.143) has left this server (Quit: Leaving).
3130‎[16:49] <-- hans2 (~hans@179.7.220.158) has left this server (Quit: WeeChat 2.0-dev).
3131‎[16:50] <-- fizruk (~anonymous@90.201.106.150) has left this server (Quit: fizruk).
3132‎[16:50] <-- cpennington (~cpenningt@pool-108-7-186-67.bstnma.fios.verizon.net) has left this server (Remote host closed the connection).
3133‎[16:51] <-- survove (~quassel@69.12.80.147.adsl.inet-telecom.org) has left this server (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.).
3134‎[16:51] --> survove (~quassel@69.12.80.147.adsl.inet-telecom.org) has joined this channel.
3135‎[16:52] <-- survove (~quassel@69.12.80.147.adsl.inet-telecom.org) has left this server (Client Quit).
3136‎[16:52] --> Scip (~scip@76.121.6.102) has joined this channel.
3137‎[16:53] <-- arborist (~arborist@62.12.154.122) has left this server (Ping timeout: 255 seconds).
3138‎[16:53] --> fendor (~fenedoer@e233-198.eduroam.tuwien.ac.at) has joined this channel.
3139‎[16:53] <-- buglebudabey (~buglebuda@node22.seg212.ucf.edu) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
3140‎[16:53] <-- John882 (~John882@185.140.114.52) has left this server (Quit: John882).
3141‎[16:53] --> fizruk (~anonymous@90.201.106.150) has joined this channel.
3142‎[16:55] <-- okuu (~pyon@unaffiliated/pyon) has left this server (Remote host closed the connection).
3143‎[16:55] --> buglebudabey (~buglebuda@node22.seg212.ucf.edu) has joined this channel.
3144‎[16:56] --> soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has joined this channel.
3145‎[16:56] <-- quobo (uid178934@gateway/web/irccloud.com/x-hdsnfidzpbwytbge) has left this server (Quit: Connection closed for inactivity).
3146‎[16:56] <-- floe-catfish (~anonymous@195.158.103.119) has left this server (Quit: floe-catfish).
3147‎[16:57] --> sz0 (uid110435@gateway/web/irccloud.com/x-zsmzqgepwbwdpvzh) has joined this channel.
3148‎[16:57] --> Tesseraction (~Tesseract@unaffiliated/tesseraction) has joined this channel.
3149‎[16:58] <-- eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Read error: Connection reset by peer).
3150‎[16:59] <-- Scip (~scip@76.121.6.102) has left this server (Ping timeout: 255 seconds).
3151‎[16:59] --> eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
3152‎[17:00] <-- noirin (~noirin@184.75.221.3) has left this server.
3153‎[17:00] <-- jay___ (~jay@117.249.135.70) has left this server (Ping timeout: 240 seconds).
3154‎[17:00] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
3155‎[17:00] <-- soniku (~soniku@S01061cabc0a5aeb3.ed.shawcable.net) has left this server (Ping timeout: 260 seconds).
3156‎[17:01] <-- raichoo (~raichoo@office02.saltation.de) has left this server (Ping timeout: 240 seconds).
3157‎[17:01] --> rblaze1 (~Adium@2620:10d:c091:200::1:92a8) has joined this channel.
3158‎[17:01] <-- rblaze (~Adium@2620:10d:c091:200::3:c861) has left this server (Ping timeout: 246 seconds).
3159‎[17:01] --> xkapastel (uid17782@gateway/web/irccloud.com/x-osnzngbnyierrcvx) has joined this channel.
3160‎[17:01] --> eacamero_ (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
3161‎[17:01] <-- alex`` (~alex@2a01cb000bb310000e31f98b4cdf4eae.ipv6.abo.wanadoo.fr) has left this server (Quit: WeeChat 1.9.1).
3162‎[17:01] <-- eacamero_ (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Remote host closed the connection).
3163‎[17:01] --> hackebeilchen1 (~Peter@171-057-210-188.ip-addr.inexio.net) has joined this channel.
3164‎[17:02] <-- eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Read error: Connection reset by peer).
3165‎[17:02] <-- Chobbes (~Chobbes@198-48-133-98.cpe.pppoe.ca) has left this server (Ping timeout: 258 seconds).
3166‎[17:02] <-- iAmerikan (~dwshrewt@unaffiliated/iamerikan) has left this server (Ping timeout: 248 seconds).
3167‎[17:02] <-- zero_byte (zer0@nat/redhat/x-ueuyiqnqqpgmkyzj) has left this server (Ping timeout: 240 seconds).
3168‎[17:02] --> eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
3169‎[17:02] --> juanpaucar (~juanpauca@host-186-101-150-143.netlife.ec) has joined this channel.
3170‎[17:03] <-- hackebeilchen (~Peter@171-057-210-188.ip-addr.inexio.net) has left this server (Ping timeout: 240 seconds).
3171‎[17:03] <-- vuto (~vuto@42.116.160.153) has left this server (Ping timeout: 240 seconds).
3172‎[17:03] --> eacamero_ (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
3173‎[17:04] <-- chirpsalot (~Chirps@unaffiliated/chirpsalot) has left this server (Ping timeout: 240 seconds).
3174‎[17:05] --> fragamus (~textual@2602:306:3a1a:87a0:c010:90f6:a4e6:817a) has joined this channel.
3175‎[17:05] <-- eacamero_ (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Remote host closed the connection).
3176‎[17:06] <-- chlong (chlong|gon@nat/redhat/x-nnghcdlrdpwzxjql) has left this server (Ping timeout: 255 seconds).
3177‎[17:06] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
3178‎[17:06] --> eacamero_ (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
3179‎[17:06] <-- ThomasLocke (~ThomasLoc@pdpc/supporter/active/thomaslocke) has left this server (Ping timeout: 260 seconds).
3180‎[17:06] --> urodna (~urodna@unaffiliated/urodna) has joined this channel.
3181‎[17:06] --> shafox (~pbehera@103.227.96.238) has joined this channel.
3182‎[17:06] --> mda1 (~SkyPatrol@dsl51B6F885.fixip.t-online.hu) has joined this channel.
3183‎[17:06] <-- eacamero_ (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Remote host closed the connection).
3184‎[17:07] <-- eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Ping timeout: 240 seconds).
3185‎[17:07] --> iAmerikan (~dwshrewt@unaffiliated/iamerikan) has joined this channel.
3186‎[17:07] --> eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has joined this channel.
3187‎[17:08] --> arborist (~arborist@62.12.154.122) has joined this channel.
3188‎[17:08] --> tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has joined this channel.
3189‎[17:08] ‎<‎kody^‎>‎ ertes-w: isn't the fact that I can definte types which abstract over types (like Maybe) "stronger" in some sense than dependent typing? so if haskell has the former, why not the latter?
3190‎[17:09] --> alex`` (~alex@2a01cb000bb310000e31f98b4cdf4eae.ipv6.abo.wanadoo.fr) has joined this channel.
3191‎[17:09] <-- eacameron (~eacameron@cpe-74-137-151-17.kya.res.rr.com) has left this server (Read error: Connection reset by peer).
3192‎[17:09] <-- sagax (~sagax_nb@213.138.71.146) has left this server (Ping timeout: 255 seconds).
3193‎[17:09] <-- SkyPatrol (~SkyPatrol@netacc-gpn-7-135-120.pool.telenor.hu) has left this server (Ping timeout: 260 seconds).
3194‎[17:10] --> robotroll (~robotroll@unaffiliated/robotroll) has joined this channel.
3195‎[17:11] --> mortum5 (~mortum5@188.227.78.59) has joined this channel.
3196‎[17:11] --> hackebeilchen (~Peter@171-057-210-188.ip-addr.inexio.net) has joined this channel.
3197‎[17:11] --> jb55 (~jb55@70-36-49-138.dyn.novuscom.net) has joined this channel.
3198‎[17:11] --> rhauch (~rhauch@185.38.150.118) has joined this channel.
3199‎[17:12] <-- tromp (~tromp@ip-217-103-3-94.ip.prioritytelecom.net) has left this server (Ping timeout: 240 seconds).
3200‎[17:12] <-- hackebeilchen1 (~Peter@171-057-210-188.ip-addr.inexio.net) has left this server (Ping timeout: 240 seconds).
3201‎[17:13] --> Itkovian (~Itkovian@180-27-62-37.mobileinternet.proximus.be) has joined this channel.
3202‎[17:14] --> cschneid_ (~cschneid@c-71-196-161-201.hsd1.co.comcast.net) has joined this channel.
3203‎[17:14] <-- mithsv (~simon@64pc90.sshunet.nl) has left this server (Read error: Connection reset by peer).
3204‎[17:15] ‎<‎ertes-w‎>‎ kody^: dependent types are complicated to implement in a general-purpose language, and they come with a few caveats regarding inference and decidability
3205‎[17:15] --> user____2 (~user@bcddd268.skybroadband.com) has joined this channel.
3206‎[17:15] --> floe-catfish (~anonymous@195.158.103.119) has joined this channel.
3207‎[17:15] --> eschnett (~eschnett@38.104.158.162) has joined this channel.
3208‎[17:15] ‎<‎ertes-w‎>‎ kody^: with DTs the type and value languages are the same, so you actually need to interpret regular code during type checking
3209‎[17:16] <-- fizruk (~anonymous@90.201.106.150) has left this server (Quit: fizruk).
3210‎[17:16] ‎<‎user____2‎>‎ Greetings Programs
3211‎[17:16] *** user____2 is now known as Ero2.
3212‎[17:16] ‎<‎ertes-w‎>‎ kody^: if we had DTs a type alias in haskell would look like this:
3213‎[17:16] ‎<‎ertes-w‎>‎ TwoBools :: *
3214‎[17:16] ‎<‎ertes-w‎>‎ TwoBools = (Bool, Bool)
3215‎[17:16] --> ranberry (~ranberry@4.35.2.66) has joined this channel.
3216‎[17:16] ‎<‎ertes-w‎>‎ in real haskell it looks like this: type TwoBools = (Bool, Bool)
3217‎[17:17] <-- jb55 (~jb55@70-36-49-138.dyn.novuscom.net) has left this server (Ping timeout: 248 seconds).
3218‎[17:18] ‎<‎Ero2‎>‎ but with DT's worlds can collide and there will be no prior warning
3219‎[17:18] <-- dec0n (~dec0n@draugas.gis-centras.lt) has left this server (Read error: Connection reset by peer).
3220‎[17:20] --> HarveyPwca (~HarveyPwc@ip-64-134-38-145.public.wayport.net) has joined this channel.
3221‎[17:20] <-- machinedgod (~machinedg@198-84-249-5.cpe.teksavvy.com) has left this server (Ping timeout: 255 seconds).
3222‎[17:21] --> sleffy (~sleffy@c-24-7-67-0.hsd1.ca.comcast.net) has joined this channel.
3223‎[17:21] --> vuto (~vuto@42.116.160.153) has joined this channel.
3224‎[17:21] <-- geekosaur (allbery@dreamshell.ttuttle.net) has left this server (Excess Flood).
3225‎[17:22] --> zero_byte (zer0@nat/redhat/x-rjacszjnrxbxpyqs) has joined this channel.
3226‎[17:23] <-- HMPerson1 (~HMPerson1@pal-210-106-84.itap.purdue.edu) has left this server (Ping timeout: 240 seconds).
3227‎[17:23] <-- otto_s (~user@xd9331596.dyn.telefonica.de) has left this server (Ping timeout: 248 seconds).
3228‎[17:23] <-- howdoi (uid224@gateway/web/irccloud.com/x-diduxwtmgpiuczkm) has left this server (Quit: Connection closed for inactivity).
3229‎[17:23] <-- pfurla (~textual@38.86.167.91) has left this server (Quit: My MacBook Pro has gone to sleep. ZZZzzz…).
3230‎[17:24] --> otto_s (~user@xd9331596.dyn.telefonica.de) has joined this channel.
3231‎[17:25] --> iAmerika1 (~dwshrewt@unaffiliated/iamerikan) has joined this channel.
3232‎[17:27] --> geekosaur (allbery@dreamshell.ttuttle.net) has joined this channel.
3233‎[17:27] <-- iAmerikan (~dwshrewt@unaffiliated/iamerikan) has left this server (Ping timeout: 248 seconds).
3234‎[17:27] --> wraithm (~wraithm@unaffiliated/wraithm) has joined this channel.
3235‎[17:28] --> somepunk (~rohinpate@76-224-169-17.lightspeed.irvnca.sbcglobal.net) has joined this channel.
3236‎[17:28] --> mson (uid110608@gateway/web/irccloud.com/x-gmocvlpceloazrsa) has joined this channel.
3237‎[17:28] <-- wraithm (~wraithm@unaffiliated/wraithm) has left this server (Client Quit).
3238‎[17:28] <-- ertes-w (~ertes@haskell/developer/ertes) has left this server (Ping timeout: 255 seconds).
3239‎[17:28] <-- bazukas (~bazukas@95.161.189.62) has left this server (Quit: Leaving).
3240‎[17:28] --> wraithm (~wraithm@unaffiliated/wraithm) has joined this channel.
3241‎[17:28] --> pfurla (~textual@38.86.167.91) has joined this channel.
3242‎[17:29] <-- wraithm (~wraithm@unaffiliated/wraithm) has left this server (Client Quit).
3243‎[17:29] <-- zero_byte (zer0@nat/redhat/x-rjacszjnrxbxpyqs) has left this server (Ping timeout: 258 seconds).
3244‎[17:29] --> wraithm (~wraithm@unaffiliated/wraithm) has joined this channel.
3245‎[17:29] --> hackebeilchen1 (~Peter@171-057-210-188.ip-addr.inexio.net) has joined this channel.
3246‎[17:30] --> athan (~athan@96-93-204-14-static.hfc.comcastbusiness.net) has joined this channel.
3247‎[17:30] ‎* ‎hackagebot‎‎ quickcheck-state-machine 0.2.0 – Test monadic programs using state machine based models – https://hackage.haskell.org/package/quickcheck-state-machine
3248‎[17:30] <-- hgost (~hurrrr@gaping.io) has left this server (Quit: leaving).
3249‎[17:30] <-- hackebeilchen (~Peter@171-057-210-188.ip-addr.inexio.net) has left this server (Ping timeout: 240 seconds).
3250‎[17:30] <-- guiben (~guiben@wyplay-40m-61-50.fib.nerim.net) has left this server (Quit: Bye).
3251‎[17:31] <-- Skeptik (~mpoma@office.exabyte.be) has left this server (Read error: Connection reset by peer).
3252‎[17:31] <-- prg318 (~prg@deadcodersociety/prg318) has left this server (Quit: ZNC 1.6.5 - http://znc.in).
3253‎[17:31] <-- fragamus (~textual@2602:306:3a1a:87a0:c010:90f6:a4e6:817a) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
3254‎[17:31] <-- danthemyth (~danthemyt@c-73-135-109-146.hsd1.wv.comcast.net) has left this server (Remote host closed the connection).
3255‎[17:32] --> hackebeilchen (~Peter@171-057-210-188.ip-addr.inexio.net) has joined this channel.
3256‎[17:32] --> osa1 (~omer@haskell/developer/osa1) has joined this channel.
3257‎[17:32] <-- eatman (~eatman@anatoscope4.inrialpes.fr) has left this server (Quit: leaving).
3258‎[17:32] --> fragamus (~textual@2602:306:3a1a:87a0:c010:90f6:a4e6:817a) has joined this channel.
3259‎[17:33] --> rribeiro (~rribeiro@200.239.179.136) has joined this channel.
3260‎[17:33] --> mr_sm1th (~quassel@5ED4F634.cm-7-5d.dynamic.ziggo.nl) has joined this channel.
3261‎[17:33] --> saurabhnanda (~saurabhna@42.106.71.248) has joined this channel.
3262‎[17:33] <-- btk (~tob@ip-89-250-201-98.rev.snt.net.pl) has left this server (Quit: Leaving.).
3263‎[17:34] --> prg318 (~prg@deadcodersociety/prg318) has joined this channel.
3264‎[17:34] <-- hackebeilchen1 (~Peter@171-057-210-188.ip-addr.inexio.net) has left this server (Ping timeout: 258 seconds).
3265‎[17:34] <-- mekeor (~mekeor@pd907e085.dip0.t-ipconnect.de) has left this server (Quit: digital revolution = cryptoanarchism + cybercommunism).
3266‎[17:34] --> hackebeilchen1 (~Peter@171-057-210-188.ip-addr.inexio.net) has joined this channel.
3267‎[17:35] --> gienah (~mwright@gentoo/developer/gienah) has joined this channel.
3268‎[17:35] --> cpennington (~cpenningt@ne55-seven-fifty-eight.mit.edu) has joined this channel.
3269‎[17:35] <-- ystael (~ystael@50-199-243-61-static.hfc.comcastbusiness.net) has left this server (Ping timeout: 258 seconds).
3270‎[17:35] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
3271‎[17:35] ‎<‎shapr‎>‎ nicknight: you having fun learning Haskell?
3272‎[17:36] --> machinedgod (~machinedg@mtlxpqak-1176055518.sdsl.bell.ca) has joined this channel.
3273‎[17:37] --> louispan (~textual@14-203-219-236.static.tpgi.com.au) has joined this channel.
3274‎[17:37] <-- hackebeilchen (~Peter@171-057-210-188.ip-addr.inexio.net) has left this server (Ping timeout: 255 seconds).
3275‎[17:37] <-- gienah_ (~mwright@gentoo/developer/gienah) has left this server (Ping timeout: 260 seconds).
3276‎[17:37] --> FreeBirdLjj (~freebirdl@124.77.15.18) has joined this channel.
3277‎[17:37] --> mithsv (~simon@64pc90.sshunet.nl) has joined this channel.
3278‎[17:37] --> hackebeilchen (~Peter@171-057-210-188.ip-addr.inexio.net) has joined this channel.
3279‎[17:37] --> fizruk (~anonymous@90.201.106.150) has joined this channel.
3280‎[17:38] <-- cpennington (~cpenningt@ne55-seven-fifty-eight.mit.edu) has left this server (Remote host closed the connection).
3281‎[17:38] --> chlong (chlong|gon@nat/redhat/x-eipmdaxmeczcgeup) has joined this channel.
3282‎[17:38] --> tnecniv (~textual@unaffiliated/jimihendrix) has joined this channel.
3283‎[17:39] <-- hackebeilchen1 (~Peter@171-057-210-188.ip-addr.inexio.net) has left this server (Ping timeout: 240 seconds).
3284‎[17:40] <-- ortmage (ortmage@nat/google/x-azjmimhyjnyxmvml) has left this server (Ping timeout: 246 seconds).
3285‎[17:40] --> ystael (~ystael@50-199-243-61-static.hfc.comcastbusiness.net) has joined this channel.
3286‎[17:40] --> cpennington (~cpenningt@ne55-seven-fifty-eight.mit.edu) has joined this channel.
3287‎[17:41] <-- rblaze1 (~Adium@2620:10d:c091:200::1:92a8) has left this server (Ping timeout: 246 seconds).
3288‎[17:41] --> hackebeilchen1 (~Peter@171-057-210-188.ip-addr.inexio.net) has joined this channel.
3289‎[17:41] <-- takuan (~takuan@178-116-228-162.access.telenet.be) has left this server (Remote host closed the connection).
3290‎[17:42] <-- hackebeilchen (~Peter@171-057-210-188.ip-addr.inexio.net) has left this server (Ping timeout: 255 seconds).
3291‎[17:42] <-- tnecniv (~textual@unaffiliated/jimihendrix) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
3292‎[17:42] <-- ninedotnine (~dan@modemcable078.123-81-70.mc.videotron.ca) has left this server (Read error: Connection reset by peer).
3293‎[17:42] <-- crobbins (~crobbins@2602:30a:c08e:19e0:aaf7:790b:6148:469e) has left this server (Ping timeout: 246 seconds).
3294‎[17:42] <-- buglebudabey (~buglebuda@node22.seg212.ucf.edu) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).
3295‎[17:43] <-- cpennington (~cpenningt@ne55-seven-fifty-eight.mit.edu) has left this server (Remote host closed the connection).
3296‎[17:43] --> ninedotnine (~dan@modemcable078.123-81-70.mc.videotron.ca) has joined this channel.
3297‎[17:44] --> onehrxn (~textual@113.140.11.124) has joined this channel.
3298‎[17:44] <-- fragamus (~textual@2602:306:3a1a:87a0:c010:90f6:a4e6:817a) has left this server (Quit: My MacBook has gone to sleep. ZZZzzz…).