Cs - *Main>:load “/home/hd01/b/boliu/lab2.hs”[1 of 1]compling main Ok modules loaded Main*Main>t 1000*Main>t 60*Main>t 360*Main>t

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.6.1, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \____/\/ /_/\____/|_| Type :? for help. Loading package base ... linking ... done. Prelude> :load lab2.hs [1 of 1 ]compling main (lab2.hs, interpreted) *Main> *Main> ticketCost 60 90 <interactive>:1:0:Not in scope: ‘ticketCost
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: *Main> :load “/home/hd01/b/boliu/lab2.hs” [1 of 1 ]compling main Ok, modules loaded: Main. *Main>ticketCost 60 90 1000 *Main>ticketCost 65 67 60 *Main>ticketCost 65 77 360 *Main>ticketCost 65 78 410 I was trying to printed out by typing : enscript –G –Pzoo lab2.trans. But it doesn’t work so I copy it to windows and printed it out....
View Full Document

This note was uploaded on 02/14/2011 for the course CIS 252 taught by Professor Staff during the Spring '08 term at Syracuse.

Ask a homework question - tutors are online