Automatic Generation from List comprehension to C

Qiushuang Wang, Dongliang Liu, Rujuan Wang, Yan Sun · Physics Procedia · 2012

List Comprehension representing comes from comprehension of mathematics, which provides a strong and concise representing method. Monad representing is concise and readability mainly because Monad extends List Comprehension to any Monad. This paper is concerned with the transforming from List Comprehension of functional programming language Haskell to C programs. Using Haskell itself we have also realized this transformation. Haskell is the only language that supports Monad, so our research is helpful to the building of Monad researching environments.

Read the paper · More papers on PaperTik