Skip to content

Commit

Permalink
should work
Browse files Browse the repository at this point in the history
  • Loading branch information
skididdles committed Oct 7, 2014
1 parent 35c6c40 commit 1e35cd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mattsjunk.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ fixstruct index student ss = do
and the second element is the list of already grouped students
-}
addstudent :: a -> (t, [a]) -> (t, [a])
addstudent s curstu = head [ (y, s: x) | let x = snd curstu , let y = fst curstu]
addstudent s curstu = head [ (y, s:g x) | let x = snd curstu , let y = fst curstu]

outputlist :: Int -> [[Int]]
outputlist numgroup = map (drop 1) (map (:[]) [1..(numgroup)])

checkoutputlist ol = do


{-
Updates the current list of already grouped
Expand Down

0 comments on commit 1e35cd0

Please sign in to comment.