Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 660 661 662 663 664 665 666 667 668 669 670 .. 18013
1,801,294 events total
2021-06-26 11:56:09 × euandreh quits (~euandreh@2804:14c:33:9fe5:c1e6:8279:92e9:57ec) (Ping timeout: 250 seconds)
2021-06-26 11:56:20 <parzema> thought it might have been shorter in haskell
2021-06-26 11:58:56 <jumper149> Profpatsch: hehe hello :)
2021-06-26 11:59:48 × noctux quits (~noctux@user/noctux) (Ping timeout: 265 seconds)
2021-06-26 11:59:54 teaSlurper joins (~chris@81.96.113.213)
2021-06-26 12:01:14 <sshine> parzema, ease and brevity depend on prior experience.
2021-06-26 12:02:50 <oak-> Well it isn't much more complicated in Haskell, first you call the initialize-function in Crypto.Cipher.Salsa with 20 rounds, key and nonce, and you get the cipher context, and then you call the combine function with your data and the cipher context
2021-06-26 12:04:18 × fef quits (~thedawn@user/thedawn) (Quit: Leaving)
2021-06-26 12:05:27 justsomeguy joins (~justsomeg@user/justsomeguy)
2021-06-26 12:07:35 × justsomeguy quits (~justsomeg@user/justsomeguy) (Client Quit)
2021-06-26 12:07:35 × azeem quits (~azeem@dynamic-adsl-94-34-9-28.clienti.tiscali.it) (Read error: Connection reset by peer)
2021-06-26 12:08:37 azeem joins (~azeem@dynamic-adsl-94-34-9-28.clienti.tiscali.it)
2021-06-26 12:09:06 × Sornaensis quits (~Sornaensi@077213194163.dynamic.telenor.dk) (Ping timeout: 258 seconds)
2021-06-26 12:13:31 chisui joins (~chisui@200116b8665ca200b4ead5d4214f5a59.dip.versatel-1u1.de)
2021-06-26 12:18:15 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:c4e3:f231:bc2a:37da)
2021-06-26 12:22:57 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:c4e3:f231:bc2a:37da) (Ping timeout: 272 seconds)
2021-06-26 12:23:28 Guest16 joins (~Guest16@2409:4062:2d0b:99a1:76c8:3b6:4cad:7132)
2021-06-26 12:23:43 <Guest16> Sup
2021-06-26 12:24:11 warnz joins (~warnz@2600:1700:77c0:5610:350e:4738:7a75:35e)
2021-06-26 12:28:04 mib_l4fizy joins (~9d298f71@ircip2.mibbit.com)
2021-06-26 12:28:32 fizbin joins (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net)
2021-06-26 12:28:39 × warnz quits (~warnz@2600:1700:77c0:5610:350e:4738:7a75:35e) (Ping timeout: 250 seconds)
2021-06-26 12:29:25 × dunkeln_ quits (~dunkeln@188.71.193.140) (Ping timeout: 258 seconds)
2021-06-26 12:30:13 <mib_l4fizy> Hi..I need help regarding this: https://paste.tomsmeding.com/cWHnB2OJ
2021-06-26 12:33:09 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Ping timeout: 265 seconds)
2021-06-26 12:33:53 <chisui> Please include the place where you called `print` in your example
2021-06-26 12:34:08 × Guest16 quits (~Guest16@2409:4062:2d0b:99a1:76c8:3b6:4cad:7132) (Quit: Client closed)
2021-06-26 12:36:07 × pfurla quits (~pfurla@ool-182ed2e2.dyn.optonline.net) (Quit: gone to sleep. ZZZzzz…)
2021-06-26 12:36:36 × mib_l4fizy quits (~9d298f71@ircip2.mibbit.com) (Quit: https://mibbit.com Online IRC Client)
2021-06-26 12:36:44 dunkeln joins (~dunkeln@188.71.193.140)
2021-06-26 12:38:40 reedlepee joins (~9d298f71@ircip2.mibbit.com)
2021-06-26 12:39:11 <reedlepee> HI...could anyone help me with this: https://paste.tomsmeding.com/cWHnB2OJ
2021-06-26 12:40:30 <chisui> reedlepee The error is not in the code you shared. Please share the code that calls `print`
2021-06-26 12:40:55 × teaSlurper quits (~chris@81.96.113.213) (Remote host closed the connection)
2021-06-26 12:41:32 teaSlurper joins (~chris@81.96.113.213)
2021-06-26 12:42:17 <reedlepee> I'm sorry. I did not know I had to add a print function. This was my entire code...I thought Haskell was similar to Gofer and just slightly modified the lines
2021-06-26 12:42:33 fef joins (~thedawn@user/thedawn)
2021-06-26 12:42:35 × derelict quits (~derelict@user/derelict) (Quit: WeeChat 3.2)
2021-06-26 12:43:51 derelict joins (~derelict@user/derelict)
2021-06-26 12:43:58 <chisui> In what environment is your code compiled?
2021-06-26 12:44:24 <chisui> Are you compiling from the command line?
2021-06-26 12:45:46 <reedlepee> @chisui no...I created a file, pasted these lines and loaded it in ghci
2021-06-26 12:45:46 <lambdabot> Unknown command, try @list
2021-06-26 12:46:08 × teaSlurper quits (~chris@81.96.113.213) (Ping timeout: 272 seconds)
2021-06-26 12:46:18 <sshine> reedlepee, ah, collatz :) https://github.com/exercism/haskell/blob/main/exercises/practice/collatz-conjecture/examples/success-standard/src/CollatzConjecture.hs
2021-06-26 12:47:15 stevenxl joins (~stevenlei@174.128.182.86)
2021-06-26 12:47:17 <reedlepee> Thanks! I realize I've a lot to learn and just can't modify code for other languages and expect it to work
2021-06-26 12:47:25 lavaman joins (~lavaman@98.38.249.169)
2021-06-26 12:47:59 <chisui> ARGH, forgot to read the error message completely.
2021-06-26 12:50:57 <reedlepee> chisui nvm...i found out what was wrong...I had to replace the "/" function with div..for rounding off as integers...now it's working :)
2021-06-26 12:51:02 <sshine> reedlepee, instead of 'mod n 2 == 1', then 'odd n'
2021-06-26 12:51:33 <sshine> reedlepee, you can also use `quot` instead of `div` since you don't care about negative rounding :)
2021-06-26 12:51:37 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 250 seconds)
2021-06-26 12:52:07 <reedlepee> sshine oh yeah you're right hehe..thanks!
2021-06-26 12:53:03 <reedlepee> haskell is indeed very similar to gofer..now i think all FP might be similar to each other...thanks again guys..see ya!
2021-06-26 12:53:27 reedlepee parts (~9d298f71@ircip2.mibbit.com) ()
2021-06-26 12:53:49 <sshine> reedlepee, the 'n : ...' part belongs to the recursion pattern, but the '3*n + 1' vs. 'n `quot` 2' belongs to generating the next number. try and make a helper function: 'next n = if even n then n `quot` 2 else 3*n+1' and use 'next' in 'pink' :)
2021-06-26 12:54:26 pfurla joins (~pfurla@ool-182ed2e2.dyn.optonline.net)
2021-06-26 12:55:31 × feliix42 quits (~felix@gibbs.uberspace.de) (Ping timeout: 250 seconds)
2021-06-26 12:55:53 × AWizzArd quits (~code@user/awizzard) (Ping timeout: 272 seconds)
2021-06-26 13:01:06 lavaman joins (~lavaman@98.38.249.169)
2021-06-26 13:03:18 × gensyst quits (gensyst@user/gensyst) (Quit: Leaving)
2021-06-26 13:03:40 × Alex_test quits (~al_test@178.34.163.142) (Quit: ;-)
2021-06-26 13:04:07 AlexZenon parts (~alzenon@178.34.163.142) ()
2021-06-26 13:04:19 × AlexNoo quits (~AlexNoo@178.34.163.142) (Quit: Leaving)
2021-06-26 13:05:17 × killsushi quits (~killsushi@user/killsushi) (Quit: Leaving)
2021-06-26 13:08:08 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2021-06-26 13:10:06 AgentM joins (~agentm@pool-162-83-130-212.nycmny.fios.verizon.net)
2021-06-26 13:11:16 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-06-26 13:11:28 × shapr quits (~user@2601:7c0:8180:89d0:903c:7e54:945b:c68c) (Ping timeout: 272 seconds)
2021-06-26 13:17:01 × acidjnk quits (~acidjnk@p200300d0c72b9545f908228849627247.dip0.t-ipconnect.de) (Ping timeout: 244 seconds)
2021-06-26 13:18:12 teaSlurper joins (~chris@81.96.113.213)
2021-06-26 13:19:48 × Scotty_Trees quits (~Scotty_Tr@162-234-179-169.lightspeed.brhmal.sbcglobal.net) (Quit: Leaving)
2021-06-26 13:22:20 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.3-dev)
2021-06-26 13:22:52 × teaSlurper quits (~chris@81.96.113.213) (Ping timeout: 272 seconds)
2021-06-26 13:23:58 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
2021-06-26 13:24:53 AlexZenon joins (~alzenon@178.34.163.142)
2021-06-26 13:27:23 Alex_test joins (~al_test@178.34.163.142)
2021-06-26 13:27:48 Deide joins (~Deide@wire.desu.ga)
2021-06-26 13:27:48 × Deide quits (~Deide@wire.desu.ga) (Changing host)
2021-06-26 13:27:48 Deide joins (~Deide@user/deide)
2021-06-26 13:28:17 AlexNoo joins (~AlexNoo@178.34.163.142)
2021-06-26 13:32:18 × is7s quits (~is7s@2a01:4b00:895f:3d00:fd08:7a4b:2db3:57e3) (Quit: Client closed)
2021-06-26 13:39:50 slowButPresent joins (~slowButPr@user/slowbutpresent)
2021-06-26 13:40:30 en30 joins (~en30@p6356230-ipngn31101marunouchi.tokyo.ocn.ne.jp)
2021-06-26 13:40:45 × slowButPresent quits (~slowButPr@user/slowbutpresent) (Client Quit)
2021-06-26 13:41:05 slowButPresent joins (~slowButPr@user/slowbutpresent)
2021-06-26 13:41:28 Schrostfutz joins (~Schrostfu@p5de88aa6.dip0.t-ipconnect.de)
2021-06-26 13:42:30 × neurocyte57 quits (~neurocyte@user/neurocyte) (Quit: The Lounge - https://thelounge.chat)
2021-06-26 13:46:58 xsperry joins (~as@user/xsperry)
2021-06-26 13:49:48 hegstal_ joins (~hegstal@2a02:c7f:7604:8a00:1f42:2755:1fbb:af5c)
2021-06-26 13:50:01 × wei2912 quits (~wei2912@112.199.250.21) (Quit: Lost terminal)
2021-06-26 13:53:28 hegstal_ is now known as hegstal
2021-06-26 13:57:25 <dmj`> shouldn't reportError show a compilation failure message, not just "compilation failed"
2021-06-26 14:00:03 teaSlurper joins (~chris@81.96.113.213)
2021-06-26 14:03:31 × ukari quits (~ukari@user/ukari) (Remote host closed the connection)
2021-06-26 14:04:00 ukari joins (~ukari@user/ukari)
2021-06-26 14:04:29 bontaq joins (~user@ool-18e47f8d.dyn.optonline.net)
2021-06-26 14:04:30 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 265 seconds)
2021-06-26 14:04:36 × tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)

All times are in UTC.