This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let styles = StyledComponents.import "./test.module.css" | |
let view (model : Model) (dispatch : Msg -> unit) = | |
div [styles "test"] [str "test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html exposing (..) | |
import Html.Events exposing (onClick) | |
type alias F = Int -> Int | |
mailbox = Signal.mailbox identity | |
view address value = div [] [ text <| toString value | |
, button [onClick address ((+) 1)] [text "+"] | |
, button [onClick address ((-) 1)] [text "-"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Events | |
{ | |
class EventManager | |
{ | |
private static EventManager instance = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using UnityEngine; | |
namespace UnityDI | |
{ | |
public class DIContainer | |
{ | |
/// <summary> |