2025/02/23

Newest at the top

2025-02-23 03:28:16 +0100Square(~Square@user/square) (Ping timeout: 268 seconds)
2025-02-23 03:27:25 +0100Square2(~Square@user/square) (Ping timeout: 244 seconds)
2025-02-23 03:25:05 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-02-23 03:24:37 +0100euphores(~SASL_euph@user/euphores) (Ping timeout: 244 seconds)
2025-02-23 03:23:49 +0100MyNetAz(~MyNetAz@user/MyNetAz) (Remote host closed the connection)
2025-02-23 03:23:12 +0100krei-se(~krei-se@p50829791.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
2025-02-23 03:18:49 +0100todi(~todi@p57803331.dip0.t-ipconnect.de) todi
2025-02-23 03:18:29 +0100todi(~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
2025-02-23 03:13:03 +0100atwm(~andrew@19-193-28-81.ftth.cust.kwaoo.net) atwm
2025-02-23 03:09:12 +0100atwm(~andrew@19-193-28-81.ftth.cust.kwaoo.net) (Ping timeout: 246 seconds)
2025-02-23 03:04:11 +0100atwm(~andrew@19-193-28-81.ftth.cust.kwaoo.net) atwm
2025-02-23 03:02:40 +0100yegorc(~yegorc@user/yegorc) (Quit: Leaving)
2025-02-23 02:59:15 +0100xearty(~xearty@151.251.255.19) (Read error: Connection reset by peer)
2025-02-23 02:59:15 +0100krei-se(~krei-se@p50829791.dip0.t-ipconnect.de) krei-se
2025-02-23 02:54:28 +0100cici(~user@140.177.185.33) (Ping timeout: 252 seconds)
2025-02-23 02:52:34 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-02-23 02:51:46 +0100krei-se(~krei-se@p200300f1cf07fb002411defffe902013.dip0.t-ipconnect.de) (Ping timeout: 244 seconds)
2025-02-23 02:49:31 +0100 <cici> That makes sense, thanks!
2025-02-23 02:49:03 +0100 <geekosaur> ghc compiles but doesn't run, like gcc/clang and javac. runghc runs but doesn't compile, like python and js. once you compile a program, you can run it multiple times without compiling again unless you want to change the source code
2025-02-23 02:45:09 +0100 <cici> Ah, got. I am coming from a little bit of a lisp background, so that makes sense. sbcl = ghci
2025-02-23 02:44:43 +0100 <EvanR> yes
2025-02-23 02:44:40 +0100 <cici> is ghci the repl?
2025-02-23 02:44:34 +0100 <EvanR> interpreter
2025-02-23 02:44:31 +0100 <EvanR> interactive haskell interpreted
2025-02-23 02:44:26 +0100 <EvanR> also check out ghci
2025-02-23 02:44:24 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 276 seconds)
2025-02-23 02:44:21 +0100 <cici> Thank you all! Now I just need to get haskell to interop with emacs, haha
2025-02-23 02:44:13 +0100JuanDaugherty(~juan@user/JuanDaugherty) (Exeunt DS Producers)
2025-02-23 02:44:04 +0100 <cici> and, as always, you have to specify path for executable
2025-02-23 02:44:02 +0100 <EvanR> glasgow haskell compiler
2025-02-23 02:43:53 +0100 <cici> need to run "runghc" to see output
2025-02-23 02:43:43 +0100 <cici> So, today I learned: ghc just compiles.
2025-02-23 02:43:28 +0100 <cici> I get it now.
2025-02-23 02:43:22 +0100 <cici> oh, yeah, I forgot my ./
2025-02-23 02:43:06 +0100 <cici> I'll try that, one sec
2025-02-23 02:42:57 +0100 <cici> that ending colon should be a quotation mark
2025-02-23 02:42:56 +0100 <lambdabot> <hint>:1:1: error: parse error on input ‘./’
2025-02-23 02:42:54 +0100 <EvanR> > ./myprogram
2025-02-23 02:42:44 +0100 <EvanR> e.g. if the file is called myprogram
2025-02-23 02:42:44 +0100 <cici> I see. When I use it from the command line, it says "command not found:
2025-02-23 02:42:19 +0100 <EvanR> instead you have to run it from command line
2025-02-23 02:42:11 +0100 <EvanR> because it's not a graphical program clicking probably doesn't show anything
2025-02-23 02:41:49 +0100 <cici> I think it did: it produced two files, one with a .hi extension and another with an .o extension. And there is an executable, but it doesn't nothing when I click on it
2025-02-23 02:41:38 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2025-02-23 02:41:12 +0100 <EvanR> but that will work
2025-02-23 02:41:03 +0100 <EvanR> you don't have to
2025-02-23 02:40:50 +0100 <EvanR> run that
2025-02-23 02:40:50 +0100 <cici> Oh, I just figuring it out with a little more searching: a better webpage explained you have to put runghc to see the output
2025-02-23 02:40:49 +0100xearty(~xearty@151.251.255.19)
2025-02-23 02:40:40 +0100 <EvanR> ghc haskell-hello.hs should produce an executable file somewhere