Skip to content

Commit

Permalink
Code format consistency in README
Browse files Browse the repository at this point in the history
  • Loading branch information
MMZK1526 committed May 28, 2024
1 parent 7e6f0ae commit c6c58a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ import Data.TypeID

main :: IO ()
main = do

-- Make a TypeID with prefix 'mmzk':
typeID <- genID @TypeID "mmzk"
print typeID
Expand Down Expand Up @@ -214,8 +215,8 @@ Now we can use `Prefix` as a prefix for `KindID`s, *e.g.*
main :: IO ()
main = do
-- ...
userID <- genKindID @'User -- Same as genKindID @"user"
postID <- genKindID @'Post -- Same as genKindID @"post"
userID <- genKindID @'User -- Same as genKindID @"user"
postID <- genKindID @'Post -- Same as genKindID @"post"
commentID <- genKindID @'Comment -- Same as genKindID @"comment"
-- ...
```
Expand Down

0 comments on commit c6c58a9

Please sign in to comment.