« first day (814 days earlier)      last day (1680 days later) » 

4:23 PM
@Dennis Can you add BlooP and FlooP?
 
What's the difference between BlooP and FlooP? There's only one interpreter in the tarball.
 
@Dennis They're really similar, but FlooP supports loops and is turing complete
 
The interpreter doesn't let you pick a flavor though.
 
So BlooP is just a subset of FlooP
@Dennis I guess it's just FlooP then, that also happens to support BlooP.
 
And it's called bloop. Not confusing at all...
In an unsurprising turn of events, the 11 year old Haskell doesn't compile out of the box. :/
ghc --make -fglasgow-exts -o bloop Main

on the commandline: warning:
    -fglasgow-exts is deprecated: Use individual extensions instead
[ 1 of 13] Compiling PPrint           ( PPrint.hs, PPrint.o )

PPrint.hs:75:1: error:
    Could not find module ‘IO’
    Use -v to see a list of the files searched for.
   |
75 | import IO      (Handle,hPutStr,hPutChar,stdout)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
make: *** [Makefile:14: bloop] Error 1
 
4:36 PM
Ooh! I know this one! You have to make it be System.IO
I don't know Haskell but I had this exact problem not too long ago
 
That worked, in the sense that I now got a new error.
ghc --make -fglasgow-exts -o bloop Main

on the commandline: warning:
    -fglasgow-exts is deprecated: Use individual extensions instead
[ 1 of 13] Compiling PPrint           ( PPrint.hs, PPrint.o )

PPrint.hs:110:24: error:
    Ambiguous occurrence ‘<$>’
    It could refer to either ‘Prelude.<$>’,
                             imported from ‘Prelude’ at PPrint.hs:36:8-13
                             (and originally defined in ‘Data.Functor’)
                          or ‘PPrint.<$>’, defined at PPrint.hs:124:3
 
Mm, don't know that one.
I'm guessing it's PPrint.<$> since Prelude.<$> is new
 
Same deal with empty.
 
If there's any conflicts between PPrint and Prelude it's probably something new in Prelude and the author intended the PPrting version
 
After many replacements and a missing package, I'm now at this.
Main.lhs:30:26: error:
    Module ‘System.IO.Error’ does not export ‘try’
   |
30 | import System.IO.Error ( try )
   |
 
4:49 PM
Is there a way to instead make ghc to compile as Haskell 98 ...
 
It looks like the new name for IO.Error.try is either tryIOError from System.IO.Error or try from Control.Exception
 
tryIOError seems to work.
I'll have to make a repo for this.
@user202729 There's -package haskell98, but I've never had any luck with it.
 
Try passing -XHaskell98 or including {-# LANGUAGE Haskell98 #-}?
 
My SSH connections keep dying on me. I'll have to leave this for later.
bloop: user error (Internal compiler error.)
Aswesome.
 
5:17 PM
well, dunno
 
That error message couldn't be less helpful if it actively tried...
 
5:36 PM
Have you tried the {-# LANGUAGE Haskell98 #-} thing?
 
6:02 PM
I'd have to install haskell98 first.
I could try that on a secondary server tonight.
 
 
4 hours later…
9:54 PM
@Dennis Can you pull Whispers v2 please?
 
@cairdcoinheringaahing Done.
 
@Dennis Thanks!
 
10:27 PM
@Dennis Can you pull it again please?
 
10:58 PM
File "/opt/whispers2/whispers.py", line 1
    =import cmath
    ^
SyntaxError: invalid syntax
@cairdcoinheringaahing ^
 

« first day (814 days earlier)      last day (1680 days later) »