Newest at the top
2025-01-27 05:19:05 +0100 | <Tikosh> | alright |
2025-01-27 05:19:01 +0100 | <EvanR> | putStrLn |
2025-01-27 05:18:50 +0100 | <Tikosh> | EvanR: so just go with putStrLn or print? |
2025-01-27 05:18:22 +0100 | <EvanR> | yes printf is kind of an awkward thing to go for in basic haskell |
2025-01-27 05:17:50 +0100 | <Tikosh> | or on the REPL |
2025-01-27 05:17:27 +0100 | <Tikosh> | int-e: I was told to put printf. originally it had print in it. i was running the mian from the REPL in Emacs |
2025-01-27 05:17:18 +0100 | <int-e> | (putStrLn <string> prints a line) |
2025-01-27 05:16:47 +0100 | <int-e> | (Or, if you *want* to use printf, use "%s" and pass an extra argument whereever you're using user input.) |
2025-01-27 05:16:44 +0100 | <Tikosh> | int-e: alrighty then |
2025-01-27 05:15:45 +0100 | <EvanR> | 👍 |
2025-01-27 05:15:44 +0100 | <int-e> | The code may be a tad too simple to comment on usefully. I wouldn't use `printf` (try using "%s" as your name) |
2025-01-27 05:15:28 +0100 | <Tikosh> | EvanR: alright. ill practice |
2025-01-27 05:15:18 +0100 | <Tikosh> | EvanR: I still don't understand. sorry. I got a haskell textbook and started reading it for fun |
2025-01-27 05:15:07 +0100 | <EvanR> | but you can practice making higher order functions like interact to factor out some common I/O patterns |
2025-01-27 05:14:17 +0100 | <EvanR> | your program begins with a different pattern, yeah |
2025-01-27 05:13:46 +0100 | <Tikosh> | EvanR: alright |
2025-01-27 05:13:39 +0100 | <int-e> | meh it'll be awkward because there are prompts |
2025-01-27 05:13:27 +0100 | <EvanR> | and does the getting of input and printing of response for you |
2025-01-27 05:13:10 +0100 | <EvanR> | it takes a function like your questionOne function as argument |
2025-01-27 05:12:43 +0100 | <Tikosh> | i have not |
2025-01-27 05:11:59 +0100 | <lambdabot> | (String -> String) -> IO () |
2025-01-27 05:11:58 +0100 | <EvanR> | :t interact |
2025-01-27 05:11:55 +0100 | <EvanR> | have you seen this function |
2025-01-27 05:11:43 +0100 | <EvanR> | cool |
2025-01-27 05:11:21 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds) |
2025-01-27 05:11:05 +0100 | <Tikosh> | hello. im a noob at programming and wonder if you can see my code. https://bpa.st/JQ3A |
2025-01-27 05:10:19 +0100 | Tikosh | (~quassel@user/Tikosh) Tikosh |
2025-01-27 05:10:08 +0100 | fmira | (~user@user/fmira) (Remote host closed the connection) |
2025-01-27 05:07:31 +0100 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich |
2025-01-27 05:06:18 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2025-01-27 05:06:11 +0100 | euleritian | (~euleritia@ip4d17fae8.dynamic.kabel-deutschland.de) |
2025-01-27 05:05:38 +0100 | euleritian | (~euleritia@ip4d17fae8.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
2025-01-27 04:59:12 +0100 | machinedgod | (~machinedg@d108-173-18-100.abhsia.telus.net) (Ping timeout: 276 seconds) |
2025-01-27 04:55:14 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds) |
2025-01-27 04:53:02 +0100 | alfiee | (~alfiee@user/alfiee) (Ping timeout: 252 seconds) |
2025-01-27 04:50:44 +0100 | foul_owl | (~kerry@185.203.219.82) foul_owl |
2025-01-27 04:50:32 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2025-01-27 04:48:54 +0100 | alfiee | (~alfiee@user/alfiee) alfiee |
2025-01-27 04:48:19 +0100 | JuanDaugherty | ColinRobinson |
2025-01-27 04:48:04 +0100 | JuanDaugherty | (~juan@user/JuanDaugherty) JuanDaugherty |
2025-01-27 04:47:46 +0100 | prasad | (~Thunderbi@2601:243:c001:3f07::5c) (Remote host closed the connection) |
2025-01-27 04:45:42 +0100 | simplystuart | (~simplystu@c-75-75-152-164.hsd1.pa.comcast.net) |
2025-01-27 04:45:14 +0100 | terrorjack45 | (~terrorjac@2a01:4f8:c17:a66e::) terrorjack |
2025-01-27 04:43:34 +0100 | terrorjack45 | (~terrorjac@2a01:4f8:c17:a66e::) (Quit: The Lounge - https://thelounge.chat) |
2025-01-27 04:39:44 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds) |
2025-01-27 04:34:44 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2025-01-27 04:33:38 +0100 | fmira | (~user@user/fmira) fmira |
2025-01-27 04:25:32 +0100 | simplystuart | (~simplystu@c-75-75-152-164.hsd1.pa.comcast.net) (Ping timeout: 252 seconds) |
2025-01-27 04:23:42 +0100 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 252 seconds) |
2025-01-27 04:23:42 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds) |