hmatrix-syntax-0.1.2.1: MATLAB-like syntax for hmatrix vectors and matrices

Safe HaskellSafe-Infered

Data.Packed.Syntax.Internal

Description

Internal parsers. Most users should not need to use this module.

Synopsis

Documentation

listExp :: String -> Either String [Exp]Source

Parser for list expressions

listPat :: String -> Either String [Pat]Source

Parser for list patterns

matListExp :: String -> Either String (Int, Int, [[Exp]])Source

Parser for matrix expressions. Returns (outer length, inner length, matrix)

matListPat :: String -> Either String (Int, Int, [[Pat]])Source

Parser for matrix patterns. Returns (outer length, inner length, matrix)