Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/docs/bugs/nhc13test17.hs

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


{- This is a known problem of nhc13 I think.  It shouldn't really
complain here as far as I can see, and ghc, hbc, and hugs don't. -}

main :: IO ()
main = let (a:b:_) = map read ["True","True"]
       in print (a || b)

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].