- ghc-9.13.20241116
- Cabal 3.14
If you want me to research packages and leave a comment here, reddit or my X account.
If you want me to research packages and leave a comment here, reddit or my X account.
| One CLI for webpack must be installed. These are recommended choices, delivered as separate packages: | |
| - webpack-cli (https://github.com/webpack/webpack-cli) | |
| The original webpack full-featured CLI. | |
| We will use "npm" to install the CLI via "npm install -D". | |
| Do you want to install 'webpack-cli' (yes/no): yes | |
| Installing 'webpack-cli' (running 'npm install -D webpack-cli')... | |
| npm WARN [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself. | |
| + [email protected] | |
| updated 1 package and audited 1061 packages in 8.612s |
| defmodule Gumimaze do | |
| def read() do | |
| lines = "maze.txt" |> File.read!() |> String.trim() |> String.split("\n") | |
| for {line, y} <- Enum.with_index(lines), {c, x} <- Enum.with_index(String.to_charlist(line)), into: %{} do | |
| {{x, y}, c} | |
| end | |
| end | |
| def solve(maze) do | |
| {x, y} = elem(Enum.find(maze, fn {_, v} -> v == ?S end), 0) |
| module Main exposing (..) | |
| import Css exposing (..) | |
| import Html | |
| import Html.Styled exposing (..) | |
| import Html.Styled.Attributes exposing (..) | |
| import Html.Styled.Events exposing (onClick) | |
| import Random | |
| import Time exposing (Time, second, millisecond) |