Skip to content

Support primitive casting #124

Open
Open
@Champii

Description

@Champii

We want to be able to cast primitives into some compatible alternatives

one_short: Int16
one_short: -> 1
main ->
  let x = one_short! :: Int64

We should not allow for dangerous casting like Int64 to Int32, and provide implementation that can safely fail for those cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions