{- File: Practice.hs Desc: some practice stuff for basic haskell and functional programming concepts -} module Practice where {- Function: myflip takes a list and reverses every other element if the list is of odd length it will leave the last element alone -} {- Function: removeplace removes an element in a list at position i -} {- Function: member takes an element n returns true if it is in the list, false if not -} {- Function: summation given a list of integers, add them together must use recursion and not the built in function -} {- Function: fac find the factorial of a given integer -} {- Function: addone given a list of integers, add 1 to each item of the list -} {- Function: myreverse return a list of items in reverse order -}