From 9ebf6ed32cac8250bd635b416ddea425a2b89ec9 Mon Sep 17 00:00:00 2001 From: Vlad GURDIGA Date: Mon, 27 Aug 2018 16:28:15 +0300 Subject: [PATCH] Fix a couple of links to the docs --- upgrade-docs/0.19.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upgrade-docs/0.19.md b/upgrade-docs/0.19.md index cc42e7a78..47dc4c805 100644 --- a/upgrade-docs/0.19.md +++ b/upgrade-docs/0.19.md @@ -55,7 +55,7 @@ Both are quite similar to the `elm-package.json` format, and `elm-upgrade` can h - `String.toInt : String -> Maybe Int` (not `Result` anymore) - `String.toFloat : String -> Maybe Float` (not `Result` anymore) -- `Basics.toString` becomes [`Debug.toString`](https://package.elm-lang.org/packages/elm/core/latest/Debug#toString), [`String.fromInt`](https://package.elm-lang.org/packages/elm/core/latest/String#toInt), and [`String.fromFloat`](https://package.elm-lang.org/packages/elm/core/latest/String#toFloat). +- `Basics.toString` becomes [`Debug.toString`](https://package.elm-lang.org/packages/elm/core/latest/Debug#toString), [`String.fromInt`](https://package.elm-lang.org/packages/elm/core/latest/String#fromInt), and [`String.fromFloat`](https://package.elm-lang.org/packages/elm/core/latest/String#fromFloat). - `Basics.rem 451 10` becomes [`remainderBy 10 451`](https://package.elm-lang.org/packages/elm/core/latest/Basics#remainderBy) - `451 % 10` becomes [`modBy 10 451`](https://package.elm-lang.org/packages/elm/core/latest/Basics#modBy) - `style : List (String, String) -> Attribute msg` becomes `String -> String -> Attribute msg` @@ -159,4 +159,4 @@ They are still able to define that function, but it will need a human readable n ## Notes: -- `toString` — A relatively common bug was to show an `Int` in the UI, and then later that value changes to something else. `toString` would just show wrong information until someone noticed. The new `String.fromInt` and `String.fromFloat` ensure that cannot happen. Furthermore, more elaborate types almost certainly need localization or internationalization, which should be handled differently anyway. \ No newline at end of file +- `toString` — A relatively common bug was to show an `Int` in the UI, and then later that value changes to something else. `toString` would just show wrong information until someone noticed. The new `String.fromInt` and `String.fromFloat` ensure that cannot happen. Furthermore, more elaborate types almost certainly need localization or internationalization, which should be handled differently anyway.