Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Type system#281

jgarte started this conversation inIdeas
May 19, 2021· 2 comments
Discussion options

What do you think of exposing declared types in phel-lang that leverage php8's types?

Some inspiration:

hylang/hy#2030
https://github.com/racket/typed-racket
https://github.com/pflanze/chj-schemelib
https://github.com/clojure/core.typed/wiki

You must be logged in to vote

Replies: 2 comments

Comment options

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.

You must be logged in to vote
0 replies
Comment options

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/

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Ideas
Labels
enhancementNew feature or request
3 participants
@jgarte@jenshaase@Chemaclass

[8]ページ先頭

©2009-2025 Movatter.jp