ghci splash screen
1
Name:
Anonymous
2009-03-15 10:41
How do I bring back the fancy
____ _ _ ____ _
/ ___| | | |/ ___(_)
| | _| |_| | | | |
| |_| | _ | |___| |
\____|_| |_|\____|_|
in ghc 6.8?
2
Name:
Anonymous
2009-03-15 11:22
3
Name:
Anonymous
2009-03-15 11:26
Just imagine there is the old fancy banner.
4
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."
5
Name:
Anonymous
2009-03-15 12:59
>>4
I'd like to introduce you to
\n .
6
Name:
Anonymous
2009-03-15 13:17
7
Name:
Anonymous
2009-03-15 15:49
>>6
To reduce the number of function calls, I meant.
8
Name:
Anonymous
2009-03-15 19:30
>>7
Because a smart compiler wouldnt optimize out consecutive function calls like that! Thanks GHCi.
9
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
10
Name:
Anonymous
2009-03-15 19:45
>>9
that's 0.00001 seconds too many
11
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.
12
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.
13
Name:
Anonymous
2009-03-16 0:02
putStrLn "'-._ ___.....___" ++
" `.__ ,-' ,-.`-, HAVE YOU READ" ++
" `''-------' ( p ) `._ YOUR SICP TODAY?" ++
" `-' \\" ++
" \\" ++
" . \\" ++
" \\---..,--'" ++
" ................._ --...--," ++
" `-.._ _.-'" ++
" `'-----'' Read SICP for help."
14
Name:
Anonymous
2009-03-16 0:09
>>13
Yeah, now it's just broken.
15
Name:
Anonymous
2009-03-16 0:13
>>14
$
>>13
putStrLn "'-._ ___.....___\
\ `.__ ,-' ,-.`-, HAVE YOU READ\
\ `''-------' ( p ) `._ YOUR SICP TODAY?\
\ `-' \\\
\ \\\
\ . \\\
\ \\---..,--'\
\ ................._ --...--,\
\ `-.._ _.-'\
\ `'-----'' Read SICP for help."
16
Name:
Anonymous
2009-03-16 0:14
>>15
Sorry, i meant
putStrLn "'-._ ___.....___\
\ `.__ ,-' ,-.`-, HAVE YOU READ\
\ `''-------' ( p ) `._ YOUR SICP TODAY?\
\ `-' \\\
\ \\\
\ . \\\
\ \\---..,--'\
\ ................._ --...--,\
\ `-.._ _.-'\
\ `'-----'' Read SICP for help."
17
Name:
Anonymous
2009-03-16 0:24
putStrLn $ unlines ["'-._ ___.....___"," `.__ ,-' ,-.`-, HAVE YOU READ", " `''-------' ( p ) `._ YOUR SICP TODAY?", " `-' \\", " \\", " . \\", " \\---..,--'", " ................._ --...--,", " `-.._ _.-'", " `'-----'' Read SICP for help."]
18
Name:
Anonymous
2009-03-16 3:27
print """\
'-._ ___.....___
`.__ ,-' ,-.`-, HAVE YOU READ
`''-------' ( p ) `._ YOUR SICP TODAY?
`-' \\
\\
. \\
\\---..,--'
................._ --...--,
`-.._ _.-'
`'-----'' Read SICP for help."""
19
Name:
Anonymous
2009-03-16 4:28
Here he comes, here comes speedracer,
HE'S A DEMON ON WHEELS
20
Name:
Anonymous
2009-03-16 4:30
Here he comes, here comes speedracer,
HE'S A DEMON ON WHEELS
21
Name:
Anonymous
2009-03-16 4:32
Here he comes, here comes speedracer,
HE'S A DEMON ON WHEELS
22
Name:
Anonymous
2011-01-31 21:14
<-- check em dubz
23
Name:
tray
2012-03-14 17:16
you better be
Newer Posts