From 51e14b0e341d5df2fb1bf9174e2c9b7016a4c07c Mon Sep 17 00:00:00 2001 From: Steve Chae Date: Thu, 27 Apr 2017 12:21:10 -0400 Subject: [racket/en] Fix Incorrect Names in Mutable Struct Examples (per Issue #2714) (#2715) * Fix wrong mutable struct namee * Re-added space after ; --- racket.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'racket.html.markdown') diff --git a/racket.html.markdown b/racket.html.markdown index 38335bc1..c6b1deba 100644 --- a/racket.html.markdown +++ b/racket.html.markdown @@ -147,8 +147,8 @@ my-pet ; => # (struct rgba-color (red green blue alpha) #:mutable) (define burgundy (rgba-color 144 0 32 1.0)) -(set-color-green! burgundy 10) -(color-green burgundy) ; => 10 +(set-rgba-color-green! burgundy 10) +(rgba-color-green burgundy) ; => 10 ;;; Pairs (immutable) ;; `cons' constructs pairs, `car' and `cdr' extract the first -- cgit v1.2.3