\documentclass{article}
\usepackage{amsmath}
\usepackage[utf8x]{inputenc}
\usepackage{listings}
\usepackage{eurofont}
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
\usepackage[T1]{fontenc}