Code Monkey home page Code Monkey logo

ui-share-elm's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

ui-share-elm's Issues

Upgrade slightly to use version 2.0.1 of standard lib?

The 2.0.0 version of the standard lib had a crucial bug in merge concerning the initial value. Was fixed in https://github.com/elm-lang/core/pull/228, which led to release of version 2.0.1. It seems that http://share-elm.com still uses version 2.0.0. That makes it unsuitable for nontrivial code involving merge. The maybe simplest way to manifest the bug is:

import String
import Graphics.Element

main = 
  Signal.map (Graphics.Element.show << String.length) <|
  Signal.merge (Signal.constant "a")
               (Signal.constant "b")

Running this locally gives the expected output (namely printing 1). Running it at http://elm-lang.org/try gives the same, since http://elm-lang.org/try was already upgraded to core-2.0.1. But running it at http://share-elm.com leads to a runtime error.

Version 0.13 is still set as default

... it seems. At least when one follows a link to some piece of code. That makes it unconvenient to use with recent code examples from/on the mailing list.

(I had a look at the source, trying to figure out where the default version is set, so that I could possibly write a pull request. But the source in the repo does not seem to be up to date with respect to what actually runs at http://share-elm.com/. For example, this line does contradict what link is actually shown in the live instance of the site.)

Importing a gist with multiple files

If you import a gist which contains multiple files only the first one, in alphabetical order, will be loaded and executed. So if the first is not an .elm file, for example an image, the compiler will try to run an image and crash. Can you add a condition to load only files with .elm extension or add an option to choose the file?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.