Idris2/tests/idris2/docs002
G. Allais 32e26c5bd1
[ refactor ] introduce UserName for (UN/RF) (#1926)
Instead of having UN & RF (& Hole in the near future & maybe even
more later e.g. operator names) we have a single UN constructor
that takes a UserName instead of a String.

UserName is (for now)

```idris
data UserName : Type where
  Basic : String -> UserName -- default name constructor       e.g. map
  Field : String -> UserName -- field accessor                 e.g. .fst
  Underscore : UserName      -- no name                        e.g. _
```

This is extracted from the draft PR #1852 which is too big to easily
debug. Once this is working, I can go back to it.
2021-09-15 13:20:58 +01:00
..
Doc.idr [ tests ] Add tests for :doc for records and single-constructor type 2021-05-06 14:38:55 +01:00
expected [ refactor ] introduce UserName for (UN/RF) (#1926) 2021-09-15 13:20:58 +01:00
input [ tests ] Add tests for :doc for records and single-constructor type 2021-05-06 14:38:55 +01:00
run Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00