example.functionalj.elm.ElmExamples Maven / Gradle / Ivy
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