Copyright | (c) Soostone Inc 2022 |
---|---|
License | AllRightsReserved |
Maintainer | Ozgun Ataman |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Rewrite AST by translatiting unsupported syntax features with specific features available on Sqlite backend (e.g. struct and array are emulated with json)
Documentation
polyfillData :: forall a. Data a => a -> a #
polyfill
replaces struct/array syntax with almost isomorphic JSON functions,
though watch out precision loss in case of handling floating point numbers.
polyfillSExp :: SExp -> SExp #