Skip to content

purescript-lua/purescript-lua-unsafe-coerce

 
 

Repository files navigation

purescript-lua-unsafe-coerce

Pursuit

A highly unsafe function, which can be used to persuade the type system that any type is the same as any other type. When using this function, it is your (that is, the caller's) responsibility to ensure that the underlying representation for both types is the same.

There are few situations where it is acceptable to use this function, it should only ever appear as an internal implementation detail of a library, never as a function used in a "normal" codebase.

Installation

spago install lua-unsafe-coerce

Documentation

Module documentation is published on Pursuit.

Links

About

PureScript Lua: unsafe coercion of values

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Nix 46.2%
  • PureScript 27.8%
  • Shell 12.6%
  • Dhall 11.3%
  • JavaScript 1.3%
  • Lua 0.8%