Sha256: fb9e605db03b3004825a6ac74e3571d2f7f671d7f409a2470819accd6105aa32

Contents?: true

Size: 146 Bytes

Versions: 70

Compression:

Stored size: 146 Bytes

Contents

USING: formatting kernel sequences ;
IN: hello-world

: hello-name ( name -- string )
  dup empty? [ drop "World" ] when
  "Hello, %s!" sprintf ;

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
trackler-2.1.0.26 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.25 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.24 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.23 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.22 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.21 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.20 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.19 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.18 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.17 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.16 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.15 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.14 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.13 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.12 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.11 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.10 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.9 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.8 tracks/factor/exercises/hello-world/hello-world-example.factor
trackler-2.1.0.7 tracks/factor/exercises/hello-world/hello-world-example.factor