Skip to content
Snippets Groups Projects
Unverified Commit 43a11427 authored by Todor Kondic's avatar Todor Kondic
Browse files

Add state creation function

* R/mix.R(new_state): New state (monad).
parent 3a373653
No related branches found
No related tags found
No related merge requests found
......@@ -601,3 +601,11 @@ write_conf <- function(conf,fn) {
read_conf <- function(fn) {
yaml::yaml.load_file(fn)
}
new_state <- function(conf,GUI) {
m <- list()
m$conf <- conf
m$GUI <- GUI
m
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment