#!/bin/sh echo "Checking type correctness ... " f=`mktemp` for i in Data/Array/Vector.hs ; do ghci -cpp -Iinclude -v0 $i < /dev/null done > $f 2>&1 if cmp -s $f /dev/null ; then echo "Passed" true else echo "Failed" cat $f false fi