foreach(retarget-compiler)
От: vaa  
Дата: 20.01.22 08:02
Оценка:
странно. так и должно быть?
foreach(c when (c < 'J') in ['A' .. 'Z']) {
  WriteLine(c);
}

I Unhandled exception. Nemerle.Core.MatchFailureException: Exception of type 'Nemerle.Core.MatchFailureException' was thrown. at main.Main()


а так не комплируется
foreach(e in [1 .. 10] with i) { // <= typing fails on finding the operator ..(int, int) 
  WriteLine(i + " " + e);
}
☭ ✊ В мире нет ничего, кроме движущейся материи.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.