-
``` go
package main
import (
"C"
"fmt"
)
var (
c chan string
)
func init() {
c = make(chan string)
go func() {
n := 1
for {
switch {
case…
mattn updated
6 months ago
-
The code should be changed such that, instead of using two divisors, it can accept any number of conditions and associated labels that are printed instead of the number when at least one of the condit…
-
Method would check that an object contains _all_ the keys that the user is concerned with.
``` javascript
var obj = {
foo: 'bar',
fizz: 'buzz'
}
is.keyed(obj, ['foo', 'fizz']) // true
is.keyed(ob…
-
## Issue
Consider the following toy `tox.ini`:
```ini
[testenv]
skip_install = true
allowlist_externals =
echo
commands =
echo "base testenv"
[testenv:functional{-py310}]
commands …
-
## Details
1부터 16까지의 정수에 대해,
3의 배수라면 'fizz',
...
## Task
- [x] Do fizz
- [x] Do buzz
- [x] Do fizzbuzz
## Reference
-
I've been playing with `shaku` for weeks now and I do think this is a huge enabler for _Hexagonal Architecture_ in Rust.
The only limitation I came across is the inability to declare multiple `Inte…
-
## Description
fizzbuzz를 기능 구현을 위한 함수를 작성하세요.
## Tasks
- [ ] fizz
- [ ] buzz
- [ ] fizzbuzz
## References
https://en.wikipedia.org/wiki/Fizz_buzz
-
## Details
1부터 16까지...
## Tasks
- [x] do fizz
- [ ] do buzz
- [ ] do fizzbuzz
-
```
var fizzbuzz = Fn.new {
for (i in 1..100) {
if (i % 15 == 0) {
System.print("FizzBuzz")
} else if (i % 3 == 0) {
System.print("Fizz")
} e…
-
If we write
```
constraint Foo(bar) -> baz;
constraint Foo(fizz) -> buzz;
```
Starling should collapse this to
```
constraint Foo(bar) -> baz && buzz[bar\fizz]
```
It should be ok to …