Hi,

I had tried to implement function of type:

```
fun
  {a:t0p}
  isPrime
  ( xs: !stream_vt( int)
  , x: int
  ):<cloptr1>
  bool
```

Ie, I want to force evaluation of some portion of a stream, but I need to
preserve it for a later use.

I had tried to make a similar version:
```
fun
  {a:t0p}
  isPrime
  ( xs: stream_vt( int)
  , x: int
  ):<cloptr1>
  ( stream_vt( int), bool)
```

but failed as well, so I decided to ask for a direction if someone had
tried to do similar stuff

-- 
You received this message because you are subscribed to the Google Groups 
"ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ats-lang-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ats-lang-users/CAHjn2KwFq7JH%2BiZE7bWCJ_L7oZ38K-kmGBFii7DZsdxWLDsGmg%40mail.gmail.com.

Reply via email to