creatur-5.9.30: Framework for artificial life experiments.
Copyright(c) 2012-2021 Amy de Buitléir
LicenseBSD-style
Maintaineramy@nualeargais.ie
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

ALife.Creatur.Daemon

Description

Provides a UNIX daemon to run an experiment using the Créatúr framework.

Synopsis

Documentation

data Job s Source #

The work to be performed by a daemon.

Constructors

Job 

Fields

data CreaturDaemon p s Source #

Constructors

CreaturDaemon 

Fields

simpleDaemon :: Job s -> s -> CreateDaemon () Source #

Creates a simple daemon to run a job. The daemon will run under the login name.

launch :: CreaturDaemon p s -> IO () Source #

launch daemon state creates a daemon, which invokes daemon. *Note:* If user (in daemon) is Just "", the daemon will run under the login name. If user is Nothing, the daemon will run under the name of the executable file containing the daemon.

launchInteractive :: Job s -> s -> IO () Source #