yu-core-0.1.1.2: The core of Yu.

Copyright(C) 2017-2018 Johann Lee <me@qinka.pro>
Maintainerme@qinka.pro
Safe HaskellNone
LanguageHaskell2010

Yu.Core.Model.TH

Description

License : GPL3 Stability : experimental Portability : unknown

The codes for generate the codes about modules

Synopsis

Documentation

makeFetch Source #

Arguments

:: Name

filter name

-> String

function name

-> Name

type

-> String

field name

-> String

collection

-> Q [Dec] 

To create fetchXxx

makeUpdate Source #

Arguments

:: String

function name

-> Name

type

-> String

field

-> String

collection

-> Q [Dec] 

to create updateXxx