-
[`dist/typestate-1.0.6.min.js`](https://cdn.jsdelivr.net/npm/typestate@1.0.6/dist/typestate-1.0.6.min.js) is empty (apart from comments).
```sh
$ cat dist/typestate-1.0.6.min.js
```
```javascr…
-
### 概要
- Typestateパターンで書いている箇所をループを使ってもう少しスマートな形に書き換える
- PhantomTypeとしてstructを使用しているため、match式が使えないが、enumを使用するようにしたらmatch式&loopで上手く書けないか
### その他
-
-
There are several places in the library where different types need to be in specific states before they can be called, otherwise a `panic!` or similar behaviour will ensue.
For example, `ActiveCame…
-
A `resource cas` has two methods: a constructor, and a method `current: func -> result` for reading a value of a key, with an implicit borrow of the resource as its first argument. Calling this prior …
-
# Bug Report
### 🔎 Search Terms
narrowing this predicate
### 🕗 Version & Regression Information
- This changed between versions 4.9 and 5.0
### ⏯ Playground Link
[Playground link wit…
-
When I build with this combination of features:
typestate = {version="0.8.0", default-features=false, features = [ "export-dot", "export-plantuml" ]}
I am hitting:
```
Compiling typestate-pro…
-
As long as API method calls are allowed on references with typestates, their invariants cannot be soundly upheld without manual review.
Suppose that there is a method `Node::add_as_child_to(other: …
-
Is it possible to use SAFE to analyze the typestate of an object declared in a `com.ibm.wala.classLoader.IMethod` that emanating from the [WALA](http://github.com/wala/wala) framework? It seems that S…
-
It'd be really handy to replace the current builders with a set of builders for Request, Response, and URI that track the builder's state using some sort of typestate, allowing for compile-time checks…
-
Using generics in any of the states causes the automaton's type to be stripped away. Take the following example:
```rust
use typestate::typestate;
#[typestate]
mod my_state {
#[automaton]…