@article{Kollár_Porubän_Václavík_2012, title={From Eager PFL to Lazy Haskell}, volume={25}, url={https://www.cai.sk/ojs/index.php/cai/article/view/333}, abstractNote={<p>The state of a system is expressed using PFL, a process functional language, in an easily understandable manner. The paper presents PFL environment variable -- our basic concept for the state manipulation in the process functional language. Then we introduce the style in which stateful systems are described using monads and state transformers in pure lazy functional language Haskell. Finally, we describe our approach to lazy state manipulation in PFL and correspondence between state manipulation in PFL and the one in a pure lazy functional language Haskell. The proposed translation from eager PFL to a lazy Haskell provides an opportunity to exploit laziness for process functional programs and furthermore for imperative programs. The approach described in this paper was used in implemented PFL to Haskell code generator.</p>}, number={1}, journal={COMPUTING AND INFORMATICS}, author={Kollár, Ján and Porubän, Jaroslav and Václavík, Peter}, year={2012}, month={Jan.}, pages={61–80} }