modify post: haskell 1
wrote post: enum in java