napkin-0.5.14
Copyright(c) Soostone Inc 2022
LicenseAllRightsReserved
MaintainerOzgun Ataman
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageGHC2021

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 #