Skip to content

Commit 9ebf6ed

Browse files
authored
Fix a couple of links to the docs
1 parent 6086fd1 commit 9ebf6ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

upgrade-docs/0.19.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Both are quite similar to the `elm-package.json` format, and `elm-upgrade` can h
5555

5656
- `String.toInt : String -> Maybe Int` (not `Result` anymore)
5757
- `String.toFloat : String -> Maybe Float` (not `Result` anymore)
58-
- `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).
58+
- `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).
5959
- `Basics.rem 451 10` becomes [`remainderBy 10 451`](https://package.elm-lang.org/packages/elm/core/latest/Basics#remainderBy)
6060
- `451 % 10` becomes [`modBy 10 451`](https://package.elm-lang.org/packages/elm/core/latest/Basics#modBy)
6161
- `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
159159

160160
## Notes:
161161

162-
- `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.
162+
- `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.

0 commit comments

Comments
 (0)