Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling nulls #9

Open
lboklin opened this issue Dec 11, 2018 · 0 comments
Open

Handling nulls #9

lboklin opened this issue Dec 11, 2018 · 0 comments

Comments

@lboklin
Copy link
Collaborator

lboklin commented Dec 11, 2018

When you call a godot method which is supposed to return some object it is sometimes null, which currently results in a fatal error. This means we're currently just about as safe from nulls using Haskell as GDScript.

The return types of Godot methods could be wrapped in some Nullable a optional type or just the Maybe monad, but Nullable is more self-documenting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant