Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2020-11-26 21:11:44 <ski> shapr : my vague memory tells me ten to twenty regulars, around the start. does that sound reasonable ?
2020-11-26 21:11:53 <shapr> yup
2020-11-26 21:12:01 <ski> we're not alone, in #haskell !
2020-11-26 21:12:12 × geekosaur quits (ae68c070@cpe-174-104-192-112.neo.res.rr.com) (Remote host closed the connection)
2020-11-26 21:12:13 × Sgeo quits (~Sgeo@ool-18b982ad.dyn.optonline.net) (Ping timeout: 264 seconds)
2020-11-26 21:13:11 × mputz quits (~Thunderbi@dslb-084-058-211-084.084.058.pools.vodafone-ip.de) (Quit: mputz)
2020-11-26 21:13:47 <shapr> ski: oh hey, I wrote an email to the haskell .. cafe? so we can find that!
2020-11-26 21:14:08 <shapr> That's how I got people to show up, I told 'em there were smart academics here having good conversation.
2020-11-26 21:14:13 <shapr> and when they arrived, it was true!
2020-11-26 21:14:30 <ski> hm, i don't recall seeing that
2020-11-26 21:16:03 <shapr> Might have been the main haskell mailing list, I forget
2020-11-26 21:16:31 hackage phonetic-languages-simplified-properties-lists 0.1.3.1 - A generalization of the uniqueness-periods-vector-properties package. https://hackage.haskell.org/package/phonetic-languages-simplified-properties-lists-0.1.3.1 (OleksandrZhabenko)
2020-11-26 21:19:06 <xerox_> I wonder where TheHunter ended up
2020-11-26 21:19:25 <ski> yea ..
2020-11-26 21:19:36 <ski> and mmorrow,vixey
2020-11-26 21:19:46 hnOsmium0001 joins (uid453710@gateway/web/irccloud.com/x-yhbundavwcfojtvb)
2020-11-26 21:19:52 <shapr> I know where blackdog works ...
2020-11-26 21:20:13 <shapr> I tracked down TheHunter some years ago, he was still writing code, but I think not Haskell anymore.
2020-11-26 21:20:39 francesco_ joins (~francesco@host-82-54-193-143.retail.telecomitalia.it)
2020-11-26 21:20:43 <shapr> > 51 / 3
2020-11-26 21:20:46 <lambdabot> 17.0
2020-11-26 21:21:01 boxscape37 joins (54a35f37@gateway/web/cgi-irc/kiwiirc.com/ip.84.163.95.55)
2020-11-26 21:21:04 × Franciman quits (~francesco@host-82-54-193-143.retail.telecomitalia.it) (Read error: Connection reset by peer)
2020-11-26 21:21:28 Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas)
2020-11-26 21:21:30 × Lycurgus quits (~niemand@98.4.114.74) (Ping timeout: 265 seconds)
2020-11-26 21:22:24 <ski> i remember at some point i used to obsessively read all the scrollback ..
2020-11-26 21:23:01 hackage typson-esqueleto 0.1.0.1 - Typson Esqueleto Integration https://hackage.haskell.org/package/typson-esqueleto-0.1.0.1 (aaronallen8455)
2020-11-26 21:23:02 <shapr> That was humanly possible in the early years.
2020-11-26 21:23:14 cosimone joins (~cosimone@2001:b07:ae5:db26:d849:743b:370b:b3cd)
2020-11-26 21:23:37 × boxscape quits (54a35f37@gateway/web/cgi-irc/kiwiirc.com/ip.84.163.95.55) (Ping timeout: 264 seconds)
2020-11-26 21:23:39 <shapr> I used to check the user list when I got on and welcome new people
2020-11-26 21:24:03 <ski> yea, i remember that, too
2020-11-26 21:24:11 <hpc> checking the user list used to be humanly possible too
2020-11-26 21:24:16 boxscape37 is now known as boxscape
2020-11-26 21:24:20 <ski> (remember me doing that, quite possibly after seeing you do it)
2020-11-26 21:25:05 × andi- quits (~andi-@NixOS/user/andi-) (Ping timeout: 272 seconds)
2020-11-26 21:25:30 hackage typson-selda 0.1.0.0 - Typson Selda Integration https://hackage.haskell.org/package/typson-selda-0.1.0.0 (aaronallen8455)
2020-11-26 21:25:30 b7471 joins (~kvirc@139.30.76.203)
2020-11-26 21:25:41 <b7471> Hello
2020-11-26 21:25:50 <shapr> hi b7471
2020-11-26 21:25:50 <ski> hello
2020-11-26 21:26:05 <b7471> i have a small question
2020-11-26 21:26:11 <shapr> ooh, I have a small answer!
2020-11-26 21:26:17 <b7471> if a have a if else loop in haskell
2020-11-26 21:26:26 ski was thinking about something similar .. :)
2020-11-26 21:26:37 <shapr> hpc: yeah, it's been a few years since that was reasonable
2020-11-26 21:26:39 <b7471> and i want to print three variables
2020-11-26 21:26:42 <b7471> how do i do this
2020-11-26 21:26:51 <Rembane> b7471: What's an if-else-loop?
2020-11-26 21:26:54 <ski> perhaps you could show your current code ?
2020-11-26 21:27:11 <b7471> orderTriple(x,y,z)= if x>y && z>y then x else y
2020-11-26 21:27:17 <ski> loop x = if ..x.. then ... else loop (..x..) -- something like this ?
2020-11-26 21:27:26 <b7471> orderTriple :: (Int,Int,Int) -> Int
2020-11-26 21:27:41 <ski> hm, i see no loop in there
2020-11-26 21:27:51 <b7471> i dont want to output just x , but all the three numbers
2020-11-26 21:27:59 <ski> @index trace
2020-11-26 21:28:00 <lambdabot> Debug.Trace
2020-11-26 21:28:06 <ski> @type Debug.Trace.trace
2020-11-26 21:28:07 <lambdabot> String -> a -> a
2020-11-26 21:28:22 <b7471> the function should compare three numbers and "show" them in their orders
2020-11-26 21:28:43 <b7471> three numbers for example 1,3,2 should show 1,2,3
2020-11-26 21:29:08 × DirefulSalt quits (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt) (Remote host closed the connection)
2020-11-26 21:29:13 <ski> orderTriple (x,y,z) = trace (concat ["x = ",show x,"\ny = ",show y,"\nz = ",show z,"\n"]) (if x>y && z>y then x else y)
2020-11-26 21:29:24 <ski> try something like that, after importing `Debug.Trace'
2020-11-26 21:29:32 <shapr> hpc: do you write Haskell for money?
2020-11-26 21:29:43 DirefulSalt joins (DirefulSal@gateway/vpn/privateinternetaccess/direfulsalt)
2020-11-26 21:30:34 justanotheruser joins (~justanoth@unaffiliated/justanotheruser)
2020-11-26 21:30:35 <ski> b7471 : but be sure to remove `trace' from the code, afterwards !
2020-11-26 21:30:43 × francesco_ quits (~francesco@host-82-54-193-143.retail.telecomitalia.it) (Remote host closed the connection)
2020-11-26 21:31:00 Franciman joins (~francesco@host-82-54-193-143.retail.telecomitalia.it)
2020-11-26 21:31:13 <b7471> in the code i used cant i just type: then (x,y,z) else (z,x,y) ?
2020-11-26 21:31:15 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
2020-11-26 21:31:20 f-a joins (~f-a@151.34.157.206)
2020-11-26 21:31:57 <hpc> shapr: yes, but unfortunately i have to write it in other languages instead ;)
2020-11-26 21:32:08 kasper1 joins (~u0_a549@cpc153669-craw9-2-0-cust163.16-3.cable.virginm.net)
2020-11-26 21:32:14 <ski> b7471 : oh, sure. you can change the result of the function from being a single `Int' to being a triple of `Int's, if you want to
2020-11-26 21:32:25 × Varis quits (~Tadas@unaffiliated/varis) (Remote host closed the connection)
2020-11-26 21:32:27 <ski> (but you'll need to change the type signature, to reflect that, naturally)
2020-11-26 21:32:49 <b7471> how do i print three variable instead of just one (then x else... )
2020-11-26 21:33:28 <ski> what if you try what you just said ?
2020-11-26 21:33:32 <ski> <b7471> in the code i used cant i just type: then (x,y,z) else (z,x,y) ?
2020-11-26 21:33:45 × pieguy128 quits (~pieguy128@bras-base-mtrlpq5031w-grc-39-70-27-244-102.dsl.bell.ca) (Quit: ZNC 1.7.5 - https://znc.in)
2020-11-26 21:34:06 Stanley00 joins (~stanley00@unaffiliated/stanley00)
2020-11-26 21:36:28 <ski> shapr : fwiw, #haskell is still the channel i like most, i'd say
2020-11-26 21:36:34 pieguy128 joins (~pieguy128@bras-base-mtrlpq5031w-grc-39-70-27-244-102.dsl.bell.ca)
2020-11-26 21:36:47 francesco_ joins (~francesco@host-82-54-193-143.retail.telecomitalia.it)
2020-11-26 21:37:03 × Franciman quits (~francesco@host-82-54-193-143.retail.telecomitalia.it) (Read error: Connection reset by peer)
2020-11-26 21:38:07 <shapr> ski: I'm glad, I spent a bunch of years working on the culture.
2020-11-26 21:38:22 <shapr> not so much the past few though, I've reached the point of "time to write code instead of organize community"
2020-11-26 21:38:33 <shapr> though I'm tempted to apply to the Haskell Foundation, see if I can help out
2020-11-26 21:38:33 × chkno quits (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer)
2020-11-26 21:39:08 × Stanley00 quits (~stanley00@unaffiliated/stanley00) (Ping timeout: 272 seconds)
2020-11-26 21:39:12 chkno joins (~chkno@75-7-2-127.lightspeed.sntcca.sbcglobal.net)
2020-11-26 21:39:46 × keviv quits (~keviv@35.142.17.117) (Read error: Connection reset by peer)
2020-11-26 21:40:03 <b7471> well it is a bit of an improvement.
2020-11-26 21:40:07 andi- joins (~andi-@NixOS/user/andi-)
2020-11-26 21:40:14 <b7471> but i guess i will have to learn a bit more
2020-11-26 21:40:22 keviv joins (~keviv@35.142.17.117)
2020-11-26 21:40:26 <b7471> this haskell thing
2020-11-26 21:40:49 Varis joins (~Tadas@unaffiliated/varis)

All times are in UTC.