Skip to content

Commit

Permalink
[ docs ] readme change
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelineVQ committed Sep 7, 2022
1 parent 87e8dfa commit 9566f71
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ TimeIt

Plain simple timing for HasIO actions

```idris
import TimeIt
:exec timeIt "Woof" $ traverse (\n => sleep n <* printLn n) [3,1,2]
```
Main> :module TimeIt
Main> :module System
Main> :exec timeIt "Woof" $ traverse (\n => sleep n <* printLn n) [3,1,2]
```
```
3
1
2
Expand Down

0 comments on commit 9566f71

Please sign in to comment.