Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

ghci splash screen

Name: Anonymous 2009-03-15 10:41

How do I bring back the fancy
  ____ _   _  ____ _
 / ___| | | |/ ___(_)
| |  _| |_| | |   | |
| |_| |  _  | |___| |
 \____|_| |_|\____|_|

in ghc 6.8?

Name: Anonymous 2009-03-15 11:22

Name: Anonymous 2009-03-15 11:26

Just imagine there is the old fancy banner.

Name: Anonymous 2009-03-15 12:39

~/.ghci:
:set prompt "ghci> "
putStrLn "'-._                  ___.....___"
putStrLn "    `.__           ,-'        ,-.`-,            HAVE YOU READ"
putStrLn "        `''-------'          ( p )  `._       YOUR SICP TODAY?"
putStrLn "                              `-'      \\"
putStrLn "                                        \\"
putStrLn "                              .         \\"
putStrLn "                               \\---..,--'"
putStrLn "   ................._           --...--,"
putStrLn "                     `-.._         _.-'"
putStrLn "                          `'-----''                         Read SICP for help."

Name: Anonymous 2009-03-15 12:59

>>4
I'd like to introduce you to \n.

Name: Anonymous 2009-03-15 13:17

>>4
putStrLn

Name: Anonymous 2009-03-15 15:49

>>6
To reduce the number of function calls, I meant.

Name: Anonymous 2009-03-15 19:30

>>7
Because a smart compiler wouldnt optimize out consecutive function calls like that! Thanks GHCi.

Name: Anonymous 2009-03-15 19:40

OH SHIT HAVING TO WAIT AN EXTRA 0.00001 SECONDS TO START GHCI WHAT HAS THIS WORLD FUCKING COME TO

Name: Anonymous 2009-03-15 19:45

>>9
that's 0.00001 seconds too many

Name: Anonymous 2009-03-15 21:29

>>8
I prefer not writing shit code in the first place to trusting the compiler to fix shit code. Especially since >>4 was considerably longer than the alternative would have been.

Name: Anonymous 2009-03-15 23:51

It's going to be less than a microsecond longer (in other words: you won't be able to tell).  New programmers that think micro-optimization is "skill" make me laugh, especially when it will probably be compiled out anyways.

Name: Anonymous 2009-03-16 0:02

putStrLn "'-._                  ___.....___" ++
         "    `.__           ,-'        ,-.`-,            HAVE YOU READ" ++
         "        `''-------'          ( p )  `._       YOUR SICP TODAY?" ++
         "                              `-'      \\" ++
         "                                        \\" ++
         "                              .         \\" ++
         "                               \\---..,--'" ++
         "   ................._           --...--," ++
         "                     `-.._         _.-'" ++
         "                          `'-----''                         Read SICP for help."

Name: Anonymous 2009-03-16 0:09

>>13
Yeah, now it's just broken.

Name: Anonymous 2009-03-16 0:13

>>14
$
>>13


    putStrLn "'-._                  ___.....___\
             \    `.__           ,-'        ,-.`-,            HAVE YOU READ\
             \        `''-------'          ( p )  `._       YOUR SICP TODAY?\
             \                              `-'      \\\
             \                                        \\\
             \                              .         \\\
             \                               \\---..,--'\
             \   ................._           --...--,\
             \                     `-.._         _.-'\
             \                          `'-----''                         Read SICP for help."

Name: Anonymous 2009-03-16 0:14

>>15
Sorry, i meant
    putStrLn "'-._                  ___.....___\
             \    `.__           ,-'        ,-.`-,            HAVE YOU READ\
             \        `''-------'          ( p )  `._       YOUR SICP TODAY?\
             \                              `-'      \\\
             \                                        \\\
             \                              .         \\\
             \                               \\---..,--'\
             \   ................._           --...--,\
             \                     `-.._         _.-'\
             \                          `'-----''                         Read SICP for help."

Name: Anonymous 2009-03-16 0:24

putStrLn $ unlines ["'-._                  ___.....___","    `.__           ,-'        ,-.`-,            HAVE YOU READ", "        `''-------'          ( p )  `._       YOUR SICP TODAY?", "                              `-'      \\", "                                        \\", "                              .         \\", "                               \\---..,--'", "   ................._           --...--,", "                     `-.._         _.-'", "                          `'-----''                         Read SICP for help."]

Name: Anonymous 2009-03-16 3:27

print """\
'-._                  ___.....___
    `.__           ,-'        ,-.`-,            HAVE YOU READ
        `''-------'          ( p )  `._       YOUR SICP TODAY?
                              `-'      \\
                                        \\
                              .         \\
                               \\---..,--'
   ................._           --...--,
                     `-.._         _.-'
                          `'-----''                        Read SICP for help."""

Name: Anonymous 2009-03-16 4:28

Here he comes, here comes speedracer,
HE'S A DEMON ON WHEELS

Name: Anonymous 2009-03-16 4:30

Here he comes, here comes speedracer,
HE'S A DEMON ON WHEELS

Name: Anonymous 2009-03-16 4:32

Here he comes, here comes speedracer,
HE'S A DEMON ON WHEELS

Name: Anonymous 2011-01-31 21:14

<-- check em dubz

Name: tray 2012-03-14 17:16

you better be

Don't change these.
Name: Email:
Entire Thread Thread List