Sha256: 339b2bd856b2ef0df281ebc611eee4c7b54e2fe9423a185a99faafc09882ce61

Contents?: true

Size: 241 Bytes

Versions: 131

Compression:

Stored size: 241 Bytes

Contents

#!/usr/bin/env apl --script

∇drops←convert integer;factors;sounds;multiple_of
  factors←3 5 7
  sounds←('Pling' 'Plang' 'Plong')
  multiple_of←0=factors|integer
  drops←∊(multiple_of,∧/0=multiple_of)/sounds,⊂⍕integer
∇

Version data entries

131 entries across 131 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.179 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.178 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.177 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.176 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.175 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.174 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.173 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.172 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.171 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.170 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.169 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.167 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.166 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.165 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.164 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.163 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.162 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.161 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl
trackler-2.2.1.160 tracks/gnu-apl/exercises/raindrops/raindrops-example.apl