| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Recalc.Univer
Description
This module defines the interface UniverRecalc for which univerMain is defined:
univerMain @Term (env0 :: EnvOf Term) :: IO ()
which will run a spreadsheet language server serving a Univer frontend.
Synopsis
- data Annotation = Annotation {
- ann'title, ann'message :: Text
- data FunctionDescription = FunctionDescription {}
- data FunctionParameter = FunctionParameter {}
- data FunctionType
- = Financial
- | Date
- | Math
- | Statistical
- | Lookup
- | Database
- | Text
- | Logical
- | Information
- | Engineering
- | Cube
- | Compatibility
- | Web
- | Array
- | Univer
- | User
- | DefinedName
- class (Recalc t, Pretty t, Show (ErrorOf t)) => UniverRecalc t where
- univerMain :: forall t. UniverRecalc t => EnvOf t -> IO ()
Documentation
data Annotation Source #
Constructors
| Annotation | |
Fields
| |
Instances
data FunctionDescription Source #
Constructors
| FunctionDescription | |
Instances
data FunctionParameter Source #
Constructors
| FunctionParameter | |
Fields | |
Instances
data FunctionType Source #
as defined in @univerjsengine-formula#basicsfunction.ts
Constructors
| Financial | Financial Functions |
| Date | Date and Time Functions |
| Math | Math and Trigonometry Functions |
| Statistical | Statistical Functions |
| Lookup | Lookup and Reference Functions |
| Database | Database Functions |
| Text | Text Functions |
| Logical | Logical Functions |
| Information | Information Functions |
| Engineering | Engineering Functions |
| Cube | Cube Functions |
| Compatibility | Compatibility Functions |
| Web | Web Functions |
| Array | Array Functions |
| Univer | Univer-specific functions |
| User | User-defined functions |
| DefinedName | Defined name |
Instances
| ToJSON FunctionType Source # | |
Defined in Recalc.Univer.Protocol Methods toJSON :: FunctionType -> Value # toEncoding :: FunctionType -> Encoding # toJSONList :: [FunctionType] -> Value # toEncodingList :: [FunctionType] -> Encoding # omitField :: FunctionType -> Bool # | |
| Enum FunctionType Source # | |
Defined in Recalc.Univer.Protocol Methods succ :: FunctionType -> FunctionType # pred :: FunctionType -> FunctionType # toEnum :: Int -> FunctionType # fromEnum :: FunctionType -> Int # enumFrom :: FunctionType -> [FunctionType] # enumFromThen :: FunctionType -> FunctionType -> [FunctionType] # enumFromTo :: FunctionType -> FunctionType -> [FunctionType] # enumFromThenTo :: FunctionType -> FunctionType -> FunctionType -> [FunctionType] # | |
| Show FunctionType Source # | |
Defined in Recalc.Univer.Protocol Methods showsPrec :: Int -> FunctionType -> ShowS # show :: FunctionType -> String # showList :: [FunctionType] -> ShowS # | |
class (Recalc t, Pretty t, Show (ErrorOf t)) => UniverRecalc t where Source #
Minimal complete definition
univerMain :: forall t. UniverRecalc t => EnvOf t -> IO () Source #