| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Unison.WatchKind
Description
A "watch kind" is the slug that comes before a ">" in a Unison file:
foo> bar = baz
In this example, the watch kind is "foo".
Documentation
pattern RegularWatch :: (Eq a, IsString a) => a Source #
A non-test watch, such as
> 3 + 4
pattern TestWatch :: (Eq a, IsString a) => a Source #
A named test watch, such as
test> x = expect (1 == 1)
Note: currently test watches don't need to be named by the user, but that "feature" will be removed soon.