Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/escomma/ex11.hs

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


--------------------------------------------------------------------------------
import DC
import Circuit
import Print


import Array

circuit :: ESim -> [Device]     
circuit z0 = (res1 1 1 0 100.0 z0) ++
             (res1 2 1 2 10000.0 z0) ++
             (dio1 3 2 0 z0) ++
             (isrc1 5 1 0 0.1 z0)            
                                                       

z = dcOP1 0.0 [] [] circuit

main = opPrint z 
{-


-}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.