Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Sep 30, 2024
1 parent 876c36a commit 550d8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CODING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type Transferability := Transferable | NonTransferable

- types: upper camel case (`Nat`, `PublicKey`)
- functions, constructors, etc: lower camel case (`tokenLogic`, `transferLogic`)
- instances: lower came case with `I` at the end (`instance eqNatI : Eq Nat := ..`)
- instances: lower camel case with `I` at the end (`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`
Expand Down

0 comments on commit 550d8eb

Please sign in to comment.