- Jump to definition
- Uses Knowledge about all top level functions/values, type aliases and ADTs.(including 3rd party) Needs file and location info
- Show doc and type annotations
- Uses: Same as jump to + raw doc strings (and type info where applicable)
- Context sensitive autocompletions
- Uses: Same as jump to + all modules + what they expose + details about params / destructured params and aliases
- Wants: Details about function bodies symbols (let blocks, pattern matches etc etc)
- Find symbol
This file contains hidden or 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
module Posts (..) where | |
import Comment exposing (..) | |
import Effects exposing (Effects, Never) | |
import Html exposing (..) | |
import Html.Events exposing (..) | |
import Http | |
import Json.Decode as Decode exposing (Decoder, (:=)) | |
import List exposing (..) | |
import Post exposing (..) |
This file contains hidden or 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
module Freehand where | |
import String | |
import List | |
import Svg | |
import Svg.Attributes exposing (..) | |
import Html exposing (Html) | |
import Html.Events exposing (onClick) | |
import Effects exposing (Effects) | |
import StartApp |
This file contains hidden or 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
case action of | |
SomeAction -> | |
({model | field = model.field +1}, Effects.none) | |
-- etc |
This file contains hidden or 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
module Sample where | |
import Stack exposing (..) | |
import String | |
import Html exposing (..) | |
reverseString : String -> String | |
reverseString str = | |
String.split "" str | |
|> Stack.fromList |
This file contains hidden or 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 DOM -- From debois/elm-dom | |
view state config = | |
div [ class "main" ] | |
[ div [ class "nav"] | |
[ button | |
[ myClickHandler state config] -- When clicking on the button I want to get the height of element with class "displayBlock" | |
[ text "MyButton" ] | |
div |
This file contains hidden or 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
package no.routehandling.utils | |
import arrow.core.Either | |
import arrow.core.flatMap | |
import arrow.core.raise.either | |
import arrow.core.raise.ensureNotNull | |
import io.ktor.http.* | |
import io.ktor.server.application.* | |
import io.ktor.server.request.* | |
import io.ktor.server.response.* |
OlderNewer