You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While it covers about 70% of the cases, it would be nice to be able to write tests which are multiline, where only the last one is a test, and previous ones are setups.
Example:
{- Maps a function f = (+) 1 -- These two should be list = [1, 2, 3] -- put under let..in myMap f list == [2, 3, 4] -- this is the final test myMap ((*) 2) list -- This is a second test-}myMap: (a->b) ->Lista->ListbmyMap f list =case list of[]->[]
x :: xs -> f x :: myMap f xs
The text was updated successfully, but these errors were encountered:
Right now the docests will work only if
While it covers about 70% of the cases, it would be nice to be able to write tests which are multiline, where only the last one is a test, and previous ones are setups.
Example:
The text was updated successfully, but these errors were encountered: