1
1
mirror of https://github.com/anoma/juvix.git synced 2024-11-25 21:35:50 +03:00

Improve function argument names in the standard library (#3127)

This commit is contained in:
Łukasz Czajka 2024-10-28 13:29:50 +01:00 committed by GitHub
parent 47696514dc
commit e1058c87fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ type Ordering :=
| GreaterThan;
```
- instances: lower camel case with `I` at the end (`instance eqNatI : Eq Nat := ..`)
- instances: lower camel case with `I` at the end: trait + type + `I`, e.g., `instance eqNatI : Eq Nat := ..`
- boolean check functions: start with `is` (`isWhatever`)
- record constructors: `mk` + type name (`mkResource`)
- meaningful descriptive long names for arguments of public functions, e.g., `element`, `list`, `initialValue`

@ -1 +1 @@
Subproject commit 7c7162aca573d116825857da272d83d0fc8afcf7
Subproject commit 5eec27dfc926a1d99141f497f6e6b34b09be9634