-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
Currently it's a little bit awkward to use o-clock in several places... This issue is devoted to collect such things:
- Add
.ghcito repository. It's not convenient to enable language extensions and add required imports manually every time when enteringcabal new-repl. - Create time from rational time more conveniently. If you want 2/7 of day you can use one of the following ways (I don't find any of these ways convenient):
Time @Day (2 % 7)timeMul (1 % 7) (day 2)fromRational @(Time Day) (2 % 7)
- Subtract time of different units more conveniently. We have
+:operator forsec 3 +: minute 3. I want something similar but for subtraction (see example in Make 'seriesF' implementation more precise #60). Unfortunately,-:operator is very popular on Hackage. So we need another convention for arithmetic operators.
Reactions are currently unavailable