We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
data CourseData = CD { cd_dur :: Dur , cd_end :: Time } instance Arbitrary CourseData where arbitrary = let terminal = [(CD <$> arbitrary) <*> arbitrary] in sized $ (\ n -> case n <= 1 of True -> oneof terminal False -> oneof $ ([] <> terminal))