Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork23
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
What do you think of exposing declared types in phel-lang that leverage php8's types? Some inspiration: hylang/hy#2030 |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 2 comments
-
Types are currently not a goal of Phel. A complete type system is a lot of work and is currently not doable in the current state of the project. However, It may also possible that someone else in the community can work on it Independently from the Phel team. As we can see with Clojures core.type or with PHP's Psalm and PHPStan, optionally type system can be implemented as a library. |
BetaWas this translation helpful?Give feedback.
All reactions
-
It might not be a full typed system, but now you can define your own structs and interfaces in phel, so it's somehow related to this topic. Check this out:https://phel-lang.org/documentation/interfaces/ |
BetaWas this translation helpful?Give feedback.