2024/05/14

Newest at the top

2024-05-14 14:03:26 +0200danse-nr3(~danse-nr3@151.57.181.243)
2024-05-14 13:54:44 +0200euphores(~SASL_euph@user/euphores)
2024-05-14 13:48:18 +0200hseg(~gesh@46.120.21.14) (Read error: Connection reset by peer)
2024-05-14 13:48:11 +0200euphores(~SASL_euph@user/euphores) (Ping timeout: 268 seconds)
2024-05-14 13:47:26 +0200ddellacosta(~ddellacos@ool-44c73d29.dyn.optonline.net) (Ping timeout: 252 seconds)
2024-05-14 13:46:31 +0200yin(~yin@user/zero) (Client Quit)
2024-05-14 13:45:34 +0200 <ski> just_started_has : <https://downloads.haskell.org/ghc/latest/docs/users_guide/ghci.html#ghci-cmd-:edit>
2024-05-14 13:44:50 +0200 <just_started_has> ski    thanks  !! this works
2024-05-14 13:41:49 +0200yin(~yin@user/zero)
2024-05-14 13:40:51 +0200philopsos1(~caecilius@user/philopsos) (Ping timeout: 272 seconds)
2024-05-14 13:40:32 +0200 <just_started_has> i think it can
2024-05-14 13:40:26 +0200 <just_started_has> i am using the vim
2024-05-14 13:37:53 +0200 <ski> (or you could launch your interactor inside your editor, possibly)
2024-05-14 13:36:37 +0200 <ski> otherwise, you have to do `:r' manually, after saving
2024-05-14 13:36:37 +0200Maxdamantus(~Maxdamant@user/maxdamantus)
2024-05-14 13:36:18 +0200 <ski> you can set up `:e' (`:edit') to launch (or connect to) your editor, in which case when that command terminates, it'll automatically do a `:r'
2024-05-14 13:36:09 +0200Maxdamantus(~Maxdamant@user/maxdamantus) (Ping timeout: 268 seconds)
2024-05-14 13:31:21 +0200 <just_started_has> i thought that it reloadds automatically ? , can it ?
2024-05-14 13:31:04 +0200 <just_started_has> yes i just realized that , thanks !!
2024-05-14 13:30:20 +0200 <ski> just_started_has : you can use `:reload' (`:r' for short) to make the interactor reload the files that have changed
2024-05-14 13:20:55 +0200yin(~yin@user/zero) (Quit: leaving)
2024-05-14 13:19:49 +0200danse-nr3(~danse-nr3@151.43.144.199) (Ping timeout: 268 seconds)
2024-05-14 13:10:00 +0200euleritian(~euleritia@dynamic-176-004-151-001.176.4.pool.telefonica.de)
2024-05-14 13:09:20 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds)
2024-05-14 13:09:08 +0200lortabac(~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4)
2024-05-14 13:08:55 +0200 <just_started_has> thx
2024-05-14 13:05:52 +0200 <just_started_has> i just quit and startedd , yes it does give an error
2024-05-14 13:05:07 +0200 <ncf> how are you starting ghci? if you run `ghci main.hs` you should get a nice helpful error about `test` lacking an accompanying binding
2024-05-14 13:03:47 +0200Lord_of_Life(~Lord@user/lord-of-life/x-2819915)
2024-05-14 13:03:43 +0200 <just_started_has> https://drive.google.com/file/d/1yTimzu4dD3rL4GZKVTsXlJEDbaU4tXvO/view?usp=drive_link
2024-05-14 13:02:35 +0200tcard(~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303)
2024-05-14 13:02:15 +0200tcard(~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (Remote host closed the connection)
2024-05-14 13:01:36 +0200 <just_started_has> one second
2024-05-14 13:01:19 +0200Lord_of_Life(~Lord@user/lord-of-life/x-2819915) (Ping timeout: 268 seconds)
2024-05-14 12:59:48 +0200 <int-e> Or, well, tries to.
2024-05-14 12:59:39 +0200 <int-e> `ghci main.hs` doesn't execute main.hs as a script. It loads it as a Haskell module.
2024-05-14 12:58:23 +0200 <cheater> show us a screenshot of your terminal
2024-05-14 12:58:08 +0200 <int-e> You can't have just the type signature in a module; you have to have an accompanying definition.
2024-05-14 12:57:14 +0200 <just_started_has> the doc says variable not in scope only happens when it is not declared but it is
2024-05-14 12:56:41 +0200 <just_started_has> i started haskell 4 hours ago , please forgive this noob question if it is
2024-05-14 12:56:41 +0200 <just_started_has> why is that ,
2024-05-14 12:56:40 +0200 <just_started_has> it says Variable not in scope
2024-05-14 12:56:40 +0200 <just_started_has> then write test in the ghci of main.hs
2024-05-14 12:56:39 +0200 <just_started_has> in main.hs
2024-05-14 12:56:39 +0200 <just_started_has> i write test :: [Int] -> [Int]
2024-05-14 12:56:21 +0200 <just_started_has> hello
2024-05-14 12:56:16 +0200just_started_has(~just_star@2401:4900:1cc9:315f:ac5a:52e5:ce3f:eca3)
2024-05-14 12:38:57 +0200rdcdr(~rdcdr@user/rdcdr)
2024-05-14 12:38:30 +0200rdcdr(~rdcdr@user/rdcdr) (Quit: ZNC 1.8.2+deb3.1 - https://znc.in)
2024-05-14 12:32:11 +0200son0p(~ff@186.121.14.247)