Skip to content

Commit

Permalink
Removed outdated note on unsupported syntax in HSX
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Sep 14, 2022
1 parent f337de8 commit b211275
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Guide/helpful-tips.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ instance IsLabel name (Proxy name') where

So `#companyId` can be written as `fromLabel @"companyId"` which IHP turns into `Proxy @"companyId"`. The `Proxy` value is now a normal haskell value and is passed to functions such as `get` or `set`.

Note that the `fromLabel @"companyId"` style syntax is currently not supported inside HSX expressions. See [this stackoverflow answer](https://stackoverflow.com/a/68962193/268581) for an explanation.

### The dot notation \.

IHP uses dot notation like `someRecord.someField` everywhere. You might not think of this as anything special, but this syntax was just recently added to Haskell.
Expand Down

0 comments on commit b211275

Please sign in to comment.