feldspar-language-0.1: A functional embedded language for DSP and parallelism

Feldspar.Core.Haskell

Description

Helper functions for producing Haskell code

Synopsis

Documentation

unlinesNoTrail :: [String] -> StringSource

No trailing '\n'.

indent :: Int -> String -> StringSource

Indents a string the given amount of columns.

(-$-) :: HaskellValue a => String -> a -> StringSource

Application

opApp :: (HaskellValue a, HaskellValue b) => String -> a -> b -> StringSource

Binary operator application

(-=-) :: (HaskellValue patt, HaskellValue def) => patt -> def -> StringSource

Definition