Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/tests/nofib/real/HMMS/DumpPhoneList.lhs

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


        This utility program dumps a list of the legal phone labels
defined in Chapter~\ref{ch:Phones} to the standard output, one label
per line.
        \begin{haskell}{DumpPhoneList}

> module Main where

> import Phones

> main = appendChan stdout (unlines (map show phone_list)) exit done

\end{haskell}


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].