Skip to content

Implicit Type Conversion #6

@LKlinke

Description

@LKlinke

It may be a nice feature that you can write something like this

nat x;
rparam p;

x := bernoulli(1-p)

and the type check automatically detects that the conversion from Nat to Real is okay and the result is a real.

Metadata

Metadata

Labels

enhancementNew feature or requestquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions