summaryrefslogtreecommitdiff
path: root/libraries/base/tests/ix001.hs
blob: c723472bce635d78a7ee42279568cee3e8da2528 (plain)
1
2
3
4
import Data.Ix
import Data.Int

main = print (index (minBound::Int16,maxBound) maxBound)