All Downloads are FREE. Search and download functionalities are using the official Maven repository.

example.functionalj.elm.ElmExamples Maven / Gradle / Ivy

There is a newer version: 0.5.2.0
Show newest version
package example.functionalj.elm;

import java.util.Optional;

import functionalj.list.FuncList;
import functionalj.types.Choice;
import functionalj.types.Struct;
import functionalj.types.elm.Elm;

public class ElmExamples {
    
    @Elm
    @Struct
    void User(String firstName, String lastName) {}
    
    @Elm
    @Choice
    interface LoginStatus {
        void Loggined(
                String            name, 
                int               age, 
                FuncList years,
                Optional  wealth,
                User              user);
        void LoggedOut();
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy