Debian Codegraph @

scripts/vim/typeOf

raw symbols SCIP
1 #!/bin/sh
2
3 # Copyright (c) 2005 Don Stewart - http://www.cse.unsw.edu.au/~dons
4 # GPL version 2 or later (see http://www.gnu.org/copyleft/gpl.html)
5
6 # input is a top level .hs decls
7
8 FILE=$*
9 DECL=`cat`
10 ID=`echo $DECL | sed 's/^\([^ ]*\).*/\1/'`
11 echo ":t $ID" | ghci -v0 -cpp -fglasgow-exts -w $FILE
12 echo $DECL