napkin-0.5.13
Copyright(c) Soostone Inc 2022
LicenseAllRightsReserved
MaintainerOzgun Ataman
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Napkin.Untyped.Ops.Sqlite.Polyfill

Description

Rewrite AST by translatiting unsupported syntax features with specific features available on Sqlite backend (e.g. struct and array are emulated with json)

Synopsis

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.

sqlF :: Ref Function -> [SExp] -> SExp #